Skip to content
geeksforgeeks
  • Tutorials
    • Python
    • Java
    • Data Structures & Algorithms
    • ML & Data Science
    • Interview Corner
    • Programming Languages
    • Web Development
    • CS Subjects
    • DevOps And Linux
    • School Learning
    • Practice Coding Problems
  • Courses
    • DSA to Development
    • Get IBM Certification
    • Newly Launched!
      • Master Django Framework
      • Become AWS Certified
    • For Working Professionals
      • Interview 101: DSA & System Design
      • Data Science Training Program
      • JAVA Backend Development (Live)
      • DevOps Engineering (LIVE)
      • Data Structures & Algorithms in Python
    • For Students
      • Placement Preparation Course
      • Data Science (Live)
      • Data Structure & Algorithm-Self Paced (C++/JAVA)
      • Master Competitive Programming (Live)
      • Full Stack Development with React & Node JS (Live)
    • Full Stack Development
    • Data Science Program
    • All Courses
  • Facebook SDE Sheet
  • Amazon SDE Sheet
  • Apple SDE Sheet
  • Netflix SDE Sheet
  • Google SDE Sheet
  • Wipro SDE Sheet
  • Infosys SDE Sheet
  • TCS SDE Sheet
  • Cognizant SDE Sheet
  • HCL SDE Sheet
Open In App
Next Article:
Amazon SDE Sheet: Interview Questions and Answers 2024
Next article icon

Amazon SDE Sheet: Interview Questions and Answers 2024

Last Updated : 15 Oct, 2024
Comments
Improve
Suggest changes
Like Article
Like
Report

Amazon SDE sheet is the collection of the most important topics or the most frequently asked question in Amazon Software Development Engineer Interviews. Here we have collected all the interview questions and answers to land a job on Amazon


Table of Content

  • Computer Fundamentals
  • Language Based Questions
  • Data Structure & Algorithms
    • Array
    • String
    • Linked List
    • Searching
    • Sorting
    • Stack
    • Queue
    • Tree
    • Graph
    • Trie
    • Heap and Hash
    • BitMagic
    • Recursion and Backtracking
    • Dynamic Programming

Amazon is an American multinational technology company that focuses on e-commerce, cloud computing, digital streaming, and artificial intelligence. To get employed by Amazon is a dream for many. One must have clear Data Structure concepts, good communication skills, and analytical thinking and should be able to solve real-world problems to crack top companies like Amazon. Steps to follow to get a chance at Amazon are:

  • Online Application
  • Online test: (60 mins) 2 coding questions of medium difficulty level. The Amazon online test (20 questions) is based on OOPs, DBMS, operating systems, data structures, and algorithms.
  • Technical Interview 1: Project discussions, coding questions based on DS algorithms, and quizzes. It basically tests real-world problem-solving skills.
  • Technical Interview 2: Questions of relatively higher difficulty level (mostly DS and algorithms-based)
  • Bar raiser round: Behavioral questions and project discussions. Some technical questions are followed by an assessment of leadership quality and cultural fit.

For one to land a job at Amazon, he/she must have clear concepts of DSA and good practice of questions on sorting, array, string, Linked List, searching, sorting, stack, queue, tree, graph recursion backtracking dynamic programming, etc. Here through this Amazon SDE sheet, we are providing most of the coding questions which frequently pop up in amazon interviews topic-wise. This collection of interview questions will help you prepare better for your interview.

Computer Fundamentals

There are three focused computer subjects, on the basis of those subjects MCQs will be there, we have designed top MCQs for that, so you can easily test your knowledge on those subjects.

  • OOPs MCQs with Answers
  • DBMS MCQs with Answers
  • Operating System MCQs with Answers
  • Data Structures MCQs with Answers
  • Algorithms MCQs with Answers

Language Based Questions

They can be asked language-based questions, to check your grasp of the language you used for the coding round.

  • C Multiple Choice Questions
  • C++ Multiple Choice Questions
  • Java Multiple Choice Questions

Data Structure & Algorithms

Array

An array is a collection of items stored at contiguous memory locations. The idea is to store multiple items of the same type together.

ArticlesPractice
Largest Sum Contiguous Subarray

Solve

Search in a row-wise and column-wise sorted matrix

Solve

Print a given matrix in spiral form

Solve

Program for array rotation

Solve

Trapping Rain Water

Solve

Count pairs with given sum

Solve

Find the subarray with least average

Solve

Convert array into Zig-Zag fashion

Solve

Find duplicates in an array

Solve

Find a triplet that sum to a given value

Solve

String

String are defined as an array of characters. The difference between a character array and a string is the string is terminated with a special character ‘\0’.

ArticlesPractice
Validate an IP Address

Solve

Multiply Strings

Solve

Implement Atoi

Solve

Check if the string is rotated by two places

Solve

Permutations of a given string

Solve

Longest Repeating Subsequence

Solve

Roman Number to Integer

Solve

Length of the longest substring

Solve

String formation from substring

Solve

Check whether two strings are an anagram of each other

Solve

Look-and-Say Sequence

Solve

Remove minimum number of characters so that two strings become anagram

Solve

Find the smallest window in a string containing all characters of another string

Solve

Length of the longest substring without repeating characters

Solve

Linked List

Linked List is the data structure that can overcome all the limitations of an array. A Linked list is a linear data structure, in which the elements are not stored at contiguous memory locations, it allocates memory dynamically.

ArticlesPractice
Reverse a linked list

Solve

Segregate even and odd nodes in a Linked List

Solve

Detect loop in a linked list

Solve

Delete all occurrences of a given key in a linked list

Solve

Remove loop in Linked List

Solve

Nth node from the end of linked list

Solve

Merge K sorted linked lists

Solve

Flatten a binary tree into linked list

Solve

Add two numbers represented by linked lists

Solve

Function to check if a singly linked list is palindrome

Solve

Clone a linked list with next and random pointer

Solve

Delete without head pointer

Solve

Given a linked list of 0s, 1s and 2s, sort it

Solve

Intersection of Two Linked Lists

Solve

Searching

Searching Algorithms are designed to check for an element or retrieve an element from any data structure where it is stored.

ArticlesPractice
Search an element in a sorted and rotated array

Solve

Square root of an integer

Solve

First and last occurrences of x

Solve

Find a peak element

Solve

Find the smallest positive number missing from an unsorted array

Solve

Allocate minimum number of pages

Solve

Counting elements in two arrays

Solve

Median of two sorted arrays of different sizes

Solve

Sorting

A Sorting Algorithm is used to rearrange a given array or list of elements according to a comparison operator on the elements. The comparison operator is used to decide the new order of elements in the respective data structure.

ArticlesPractice
k largest(or smallest) elements in an array

Solve

Sort an array of 0s, 1s, and 2s

Solve

Count Inversions in an array

Solve

Merge Without Extra Space

Solve

Minimum Platforms

Solve

Quick Sort

Solve

Heap Sort

Solve

Merge k Sorted Arrays

Solve

Overlapping Intervals

Solve

Stack

A stack is a linear data structure in which elements can be inserted and deleted only from one side of the list, called the top. A stack follows the LIFO (Last In First Out) principle.

ArticlesPractice
Check for Balanced Brackets in an expression (well-formedness) using Stack

Solve

Sort a stack using recursion

Solve

The Celebrity Problem

Solve

Next Greater Element

Solve

Queue using two Stacks

Solve

Queue

A Queue is a linear data structure in which elements can be inserted only from one side of the list called rear, and the elements can be deleted only from the other side called the front. The queue data structure follows the FIFO (First In First Out) principle.

ArticlesPractice
Stack using two queues

Solve

Connect n ropes with minimum cost

Solve

Minimum time required to rot all oranges

Solve

First negative integer in every window of size k

Solve

Reversing a Queue

Solve

Tree

A tree is non-linear and a hierarchical data structure consisting of a collection of nodes such that each node of the tree stores a value, a list of references to nodes (the “children”).

ArticlesPractice
Inorder Traversal

Solve

Preorder Traversal

Solve

Kth largest element in BST

Solve

Left View of Binary Tree

Solve

Right View of Binary Tree

Solve

Check for BST

Solve

Diameter of a Binary Tree

Solve

Boundary Traversal of binary tree

Solve

Height of Binary Tree

Solve

Lowest Common Ancestor in a Binary Tree

Solve

Binary Tree to DLL

Solve

Root to leaf path sum

Solve

Reverse Level Order Traversal

Solve

Construct Tree from Inorder & Preorder

Solve

ZigZag Tree Traversal

Solve

Kth largest element in BST

Solve

Serialize and Deserialize a Binary Tree

Solve

Graph

A Graph is a non-linear data structure consisting of nodes and edges. The nodes are sometimes also referred to as vertices and the edges are lines or arcs that connect any two nodes in the graph.

ArticlesPractice
BFS of Graph

Solve

DFS of Graph

Solve

Find the number of islands

Solve

Topological sort

Solve

Steps by Knight

Solve

Strongly Connected Components (Kosaraju's Algo)

Solve

Alien Dictionary

Solve

Dijkstra Algorithm

Solve

Detect Cycle in a Directed Graph

Solve

Detect cycle in an undirected graph

Solve

Trie

Trie is an efficient information retrieval data structure. Using Trie, search complexities can be brought to optimal limit (key length).

ArticlesPractice
Trie Insert and Search

Solve

Trie Delete

Solve

Print unique rows in a given Binary matrix

Solve

Counting the number of words in a Trie

Solve

Longest Common Prefix using Trie

Solve

Minimum XOR Value Pair

Solve

Palindrome pair in an array of words (or strings)

Solve

Heap and Hash

A Heap is a special Tree-based data structure in which the tree is a complete binary tree. Heap and hash is an efficient implementation of a priority queue. The linear hash function monotonically maps keys to buckets, and each bucket is a heap.

ArticlesPractice
Minimum Cost of ropes

Solve

k largest elements

Solve

Kth element in Matrix

Solve

Find median in a stream

Solve

Kth largest element in a stream

Solve

Rearrange characters

Solve

Nearly sorted

Solve

Nuts and Bolts Problem

Solve

Check if two strings are k-anagrams or not.

Solve

Sort an array according to the other

Solve

Swapping pairs make sum equal

Solve

Smallest distinct window

Solve

Find first repeated character

Solve

BitMagic

Bit stands for binary digit. A bit is the basic unit of information and can only have one of two possible values that is 0 or 1.

ArticlesPractice
Find the Missing Number

Solve

Power of 2

Solve

Reverse Bits

Solve

Maximum subset XOR

Solve

Check set bits

Solve

Minimum X (xor) A

Solve

Longest Consecutive 1's

Solve

Number of 1 Bits

Solve

Recursion and Backtracking

  • Recursion: The process in which a function calls itself directly or indirectly is called recursion and the corresponding function is called a recursive function.
  • Backtracking: Backtracking is an algorithmic technique for solving problems recursively by trying to build a solution incrementally, one piece at a time, removing those solutions that fail to satisfy the constraints of the problem at any point in time (by time, here, is referred to the time elapsed till reaching any level of the search tree).
ArticlesPractice
Write a program to print all permutations of a given string

Solve

Rat in a Maze Problem - I

Solve

Josephus problem

Solve

Combination Sum

Solve

Partition Equal Subset Sum

Solve

N-Queen Problem

Solve

Shuffle integers

Solve

Hamiltonian Path

Solve

Find the string in grid

Solve

Pascal Triangle

Solve

Solve the Sudoku

Solve

Largest number in K swaps

Solve

Dynamic Programming

Dynamic Programming is mainly an optimization over plain recursion. Wherever we see a recursive solution that has repeated calls for same inputs, we can optimize it using Dynamic Programming.

ArticlesPractice
0 - 1 Knapsack Problem

Solve

Partition Equal Subset Sum

Solve

Coin Change

Solve

Longest Common Subsequence

Solve

Stock buy and sell

Solve

Interleaved Strings

Solve

Edit Distance

Solve

Stickler Thief

Solve

Longest Common Substring

Solve

Number of Coins

Solve

Egg Dropping Puzzle

Solve

Word Break

Solve

Wildcard Pattern Matching

Solve

Total Decoding Messages

Solve

Jump Game

Solve

Special Keyboard

Solve

Longest Palindromic Subsequence

Solve

After qualifying the Online test you have to face 2 technical interviews, where they asked about Data Structure, algorithms, and different kinds of puzzles. Technical rounds are face-to-face algorithmic rounds in which candidates are presented with 2-4 questions, all from data structures. The most commonly asked DSs are the matrix, binary tree, BST, and Linked list. The second technical round is more difficult and more questions from Trees, BST, and Graph are asked. One should have a clear knowledge of tree-based recursion, and the standard questions based on it are a must.

P.S: After solving all the problems mentioned above you can answer the questions which will be asked in these rounds.

Puzzles

Puzzles are one of the ways to check your problem-solving skills. These are tricky questions that let you think logically. Amazon will test your problem-solving skills through the puzzles as well. Try to solve these 20 Puzzles Commonly Asked During SDE Interviews

Project Discussion

Thoroughly revise all the work you have done till now in your projects. The grilling about projects can sometimes be very deep. Mention only those topics where you think you are fine to be grilled upon. If you don't have any project they will not ask about it, but better to have some projects, it involves questions like what's new in your project if you have created a basic clone, or what's your input followed by questions based on your technology stack.

If you haven’t made a project then take an idea from GFG Projects and start working on it.

Note: If you have a project on AWS then you have to be confident enough to provide sufficient answers of each question,

To let you know in details about Amazon Recruitment Process, we have a article on that too so you can go through this post:
https://www.geeksforgeeks.org/amazon-recruitment-process/


Next Article
Amazon SDE Sheet: Interview Questions and Answers 2024

K

kartik
Improve
Article Tags :
  • DSA
  • Software Development
  • Interview Questions
  • Amazon
  • Interview-Questions
  • GFG Sheets
  • SDE Sheet
  • Company SDE Sheet
Practice Tags :
  • Amazon

Similar Reads

    GeeksforGeeks Practice - Leading Online Coding Platform
    GeeksforGeeks Practice is an online coding platform designed to help developers and students practice coding online and sharpen their programming skills with the following features. GfG 160: This consists of 160 most popular interview problems organized topic wise and difficulty with with well writt
    6 min read
    DSA Tutorial - Learn Data Structures and Algorithms
    DSA (Data Structures and Algorithms) is the study of organizing data efficiently using data structures like arrays, stacks, and trees, paired with step-by-step procedures (or algorithms) to solve problems effectively. Data structures manage how data is stored and accessed, while algorithms focus on
    7 min read
    Commonly Asked Data Structure Interview Questions
    To excel in a Data Structure interview, a strong grasp of fundamental concepts is crucial. Data structures provide efficient ways to store, organize, and manipulate data, making them essential for solving complex problems in software development.Interviewers often test candidates on various data str
    6 min read
    Learn DSA with Python | Python Data Structures and Algorithms
    This tutorial is a beginner-friendly guide for learning data structures and algorithms using Python. In this article, we will discuss the in-built data structures such as lists, tuples, dictionaries, etc. and some user-defined data structures such as linked lists, trees, graphs, etc.1. ListList is a
    8 min read
    Data Structures and Algorithms (DSA) MCQ Quiz Online
    Welcome to our Data Structures and Algorithms (DSA) MCQ Quiz Online! This DSA MCQ is all about Quizzes for solving problems and learning the fundamentals of Algorithms and Data Structures. You'll see multiple-choice questions (MCQs) that test how well you understand the basics and Data structure Alg
    4 min read
    Top 100 Data Structure and Algorithms DSA Interview Questions Topic-wise
    DSA has been one of the most popular go-to topics for any interview, be it college placements, software developer roles, or any other technical roles for freshers and experienced to land a decent job. If you are among them, you already know that it is not easy to find the best DSA interview question
    3 min read
    Interview Preparation Roadmap
    Preparing for technical interviews can often feel overwhelming due to the breadth of topics involved. However, a well-structured roadmap makes it easier to focus on the right subjects and systematically build your skills.Interview Preparation RoadmapThis article outlines a step-by-step preparation p
    5 min read
    Company Wise Interview Preparation
    When diving into the tech job scene, it's valuable to know that each tech company has its own way of hiring. Whether they're into products, services, or analytics, they all have their unique styles.In the preparation guide, we've rounded up popular articles, problem-solving tips, and even a few vide
    1 min read
    Technical Interview Questions
    Technical interviews are a crucial part of the hiring process for many tech companies like Amazon, Microsoft, Cisco, Google, Facebook, etc. as they test your technical skills, knowledge, and problem-solving abilities. The purpose of a technical interview is to test how you solve real-world problems,
    5 min read
    Microsoft Interview Preparation
    Microsoft Corporation, the name itself tells a lot about it. An American multinational technology corporation of personal computer software systems and applications, owned by Bill Gates. Under the umbrella of Microsoft, there are over 101 products, services, & apps, you probably don’t know about
    2 min read
geeksforgeeks-footer-logo
Corporate & Communications Address:
A-143, 7th Floor, Sovereign Corporate Tower, Sector- 136, Noida, Uttar Pradesh (201305)
Registered Address:
K 061, Tower K, Gulshan Vivante Apartment, Sector 137, Noida, Gautam Buddh Nagar, Uttar Pradesh, 201305
GFG App on Play Store GFG App on App Store
Advertise with us
  • Company
  • About Us
  • Legal
  • Privacy Policy
  • In Media
  • Contact Us
  • Advertise with us
  • GFG Corporate Solution
  • Placement Training Program
  • Languages
  • Python
  • Java
  • C++
  • PHP
  • GoLang
  • SQL
  • R Language
  • Android Tutorial
  • Tutorials Archive
  • DSA
  • Data Structures
  • Algorithms
  • DSA for Beginners
  • Basic DSA Problems
  • DSA Roadmap
  • Top 100 DSA Interview Problems
  • DSA Roadmap by Sandeep Jain
  • All Cheat Sheets
  • Data Science & ML
  • Data Science With Python
  • Data Science For Beginner
  • Machine Learning
  • ML Maths
  • Data Visualisation
  • Pandas
  • NumPy
  • NLP
  • Deep Learning
  • Web Technologies
  • HTML
  • CSS
  • JavaScript
  • TypeScript
  • ReactJS
  • NextJS
  • Bootstrap
  • Web Design
  • Python Tutorial
  • Python Programming Examples
  • Python Projects
  • Python Tkinter
  • Python Web Scraping
  • OpenCV Tutorial
  • Python Interview Question
  • Django
  • Computer Science
  • Operating Systems
  • Computer Network
  • Database Management System
  • Software Engineering
  • Digital Logic Design
  • Engineering Maths
  • Software Development
  • Software Testing
  • DevOps
  • Git
  • Linux
  • AWS
  • Docker
  • Kubernetes
  • Azure
  • GCP
  • DevOps Roadmap
  • System Design
  • High Level Design
  • Low Level Design
  • UML Diagrams
  • Interview Guide
  • Design Patterns
  • OOAD
  • System Design Bootcamp
  • Interview Questions
  • Inteview Preparation
  • Competitive Programming
  • Top DS or Algo for CP
  • Company-Wise Recruitment Process
  • Company-Wise Preparation
  • Aptitude Preparation
  • Puzzles
  • School Subjects
  • Mathematics
  • Physics
  • Chemistry
  • Biology
  • Social Science
  • English Grammar
  • Commerce
  • World GK
  • GeeksforGeeks Videos
  • DSA
  • Python
  • Java
  • C++
  • Web Development
  • Data Science
  • CS Subjects
@GeeksforGeeks, Sanchhaya Education Private Limited, All rights reserved
We use cookies to ensure you have the best browsing experience on our website. By using our site, you acknowledge that you have read and understood our Cookie Policy & Privacy Policy
Lightbox
Improvement
Suggest Changes
Help us improve. Share your suggestions to enhance the article. Contribute your expertise and make a difference in the GeeksforGeeks portal.
geeksforgeeks-suggest-icon
Create Improvement
Enhance the article with your expertise. Contribute to the GeeksforGeeks community and help create better learning resources for all.
geeksforgeeks-improvement-icon
Suggest Changes
min 4 words, max Words Limit:1000

Thank You!

Your suggestions are valuable to us.

What kind of Experience do you want to share?

Interview Experiences
Admission Experiences
Career Journeys
Work Experiences
Campus Experiences
Competitive Exam Experiences