Upload Button Icon Add office photos
Engaged Employer

i

This company page is being actively managed by Amazon Team. If you also belong to the team, you can get access from here

Amazon Verified Tick

Compare button icon Compare button icon Compare

Filter interviews by

Amazon SDE Interview Questions, Process, and Tips

Updated 12 Jan 2025

Top Amazon SDE Interview Questions and Answers

  • Q1. There is a 12 km road and a contractor who is in-charge of repairing it. Contractor updates you about the work which is done in patches. Like “Road between 3.2 km to 7.9 ...read more
  • Q2. There are n nuts and n bolts represented in two different arrays and a function is_fit(nut_i, bolt_j) which returns 0 if its perfectly fit, 1 if it’s a tight fit and -1 i ...read more
  • Q3. A stream of data is coming. Maintain records in a page and mechanism to see previous and next page. (Concept of Doubly Linked List) (It is always advisable to ask questio ...read more
View all 47 questions

Amazon SDE Interview Experiences

44 interviews found

SDE Interview Questions & Answers

user image Anonymous

posted on 22 May 2015

Interview Questionnaire 

15 Questions

  • Q1. What is the definition of tree ?
  • Ans. 

    A tree is a data structure consisting of nodes connected by edges, with a single root node and no cycles.

    • Nodes represent elements of the tree, and edges represent the relationships between them.

    • Each node can have zero or more child nodes, and each child node can have its own children.

    • Trees are commonly used in computer science for organizing and searching data, such as in binary search trees.

    • Examples of trees include f...

  • Answered by AI
  • Q2. What are the differences between graph and tree?
  • Ans. 

    Graphs are non-linear data structures with cycles while trees are hierarchical data structures without cycles.

    • Graphs can have cycles while trees cannot

    • Graphs can have multiple root nodes while trees have only one

    • Graphs can have disconnected components while trees are always connected

    • Graphs can have directed or undirected edges while trees have only directed edges

    • Examples of graphs include social networks, road networks...

  • Answered by AI
  • Q3. When can you say a graph to be a tree?
  • Ans. 

    A graph can be called a tree if it is connected and has no cycles.

    • A tree is a type of graph with no cycles.

    • It must be connected, meaning there is a path between any two vertices.

    • It has n-1 edges, where n is the number of vertices.

    • Examples include family trees, file directory structures, and decision trees.

  • Answered by AI
  • Q4. Write a program to show whether a graph is a tree or not using adjacency matrix
  • Ans. 

    Program to determine if a graph is a tree using adjacency matrix

    • A graph is a tree if it is connected and has no cycles

    • Check if the graph is connected by performing a depth-first search or breadth-first search

    • Check if the graph has cycles by performing a depth-first search and tracking visited nodes

  • Answered by AI
  • Q5. Did u ask your current company to provide that type of work as u r looking in Amazon?
  • Q6. Why Amazon ?
  • Q7. Lots of questions on my current work and tools which I was using
  • Q8. Why do I want to leave my current company on such a short interval of 5 months
  • Ans. 

    Seeking better growth opportunities and a more challenging role.

    • Limited growth opportunities in my current company

    • Looking for a more challenging role to enhance my skills

    • Seeking a company with a better work culture and values

    • Exploring options that align better with my long-term career goals

  • Answered by AI
  • Q9. A stream of data is coming. Maintain records in a page and mechanism to see previous and next page. (Concept of Doubly Linked List) (It is always advisable to ask questions in design questions. The intervi...
  • Ans. 

    A thread is a unit of execution within a process that can run independently and concurrently with other threads.

    • Threads allow for concurrent execution of tasks within a program.

    • Threads share the same memory space and resources of the process they belong to.

    • Threads can communicate and synchronize with each other through shared data structures like locks and semaphores.

    • Threads can improve performance by utilizing multipl...

  • Answered by AI
  • Q10. What is the meaning of memory leakage?
  • Ans. 

    Memory leakage is a situation where a program fails to release memory it no longer needs.

    • Memory leakage can cause a program to slow down or crash due to insufficient memory.

    • It is caused by programming errors such as not freeing allocated memory or losing references to it.

    • Examples include forgetting to close a file or database connection, or not releasing memory allocated for a variable.

    • Memory leakage can be detected us...

  • Answered by AI
  • Q11. Design a system for finding the costliest element always whenever we pick up an element from a box.(concept of Max Heap)
  • Ans. 

    Design a system using Max Heap to find the costliest element from a box when an element is picked.

    • Implement a Max Heap data structure to store the elements in the box.

    • Whenever an element is picked, the costliest element can be found at the root of the Max Heap.

    • After picking an element, update the Max Heap by removing the root and reorganizing the heap.

    • Ensure the Max Heap property is maintained during insertion and dele...

  • Answered by AI
  • Q12. What inspires you to join Amazon? Why dream company ?
  • Q13. Connect Sibling pointers. I gave a Level Order Traversal solution. He asked to do it in O(1) space complexity. I explained the approach but messed up In writing the working code for that
  • Q14. Explain the approach of LRU cache and implement using object oriented language
  • Ans. 

    LRU cache is a data structure that stores most recently used items and discards least recently used items.

    • LRU stands for Least Recently Used

    • It is implemented using a doubly linked list and a hash map

    • When an item is accessed, it is moved to the front of the list

    • When the cache is full, the least recently used item is removed from the end of the list

    • Example: A web browser cache that stores recently visited web pages

  • Answered by AI
  • Q15. OS questions

Interview Preparation Tips

Round: Test
Experience: 1. Convert Binary tree to linked list.

2. Rotate a matrix by 90 degree.

There were 2 more questions. But I forgot what were they?

Round: TECHNICAL INTERVIEW
Experience: Overview of current job responsibilities and internship project.

1. Convert a tree to a sum tree.Example :

1 27

/ /

2 3 -------> 9 13

/ / / /

4 5 6 7 0 0 0 0 Always take care of all the corner cases

2. Print a pascal tree .

3. Given a 2D matrix sorted row wise and column wise . Print the matrix in sorted way. (Can be done using Min Heap).

For all the questions, complexity of the program was asked and was being asked to improve both time and space complexity.

Round: TECHNICAL INTERVIEW
Experience: Many questions regarding my current project, tools and technology I am working on.

1. Convert a binary tree to a sum tree . Here he had a new meaning of sum tree.

Example :Example :

1 1

/ /

2 3 -------> 2 5

/ / / /

4 5 6 7 4 9 15 22 (I did it with Level Order Traversal) (Complete working code was required)

2. Given an array of integers. Find the largest 3 element. (Can be done using Max Heap in less time complexity)

College Name: NA

Skills evaluated in this interview

SDE Interview Questions & Answers

user image Anonymous

posted on 12 Jan 2025

Interview experience
5
Excellent
Difficulty level
Moderate
Process Duration
2-4 weeks
Result
Selected Selected

I applied via Referral and was interviewed in Dec 2024. There were 2 interview rounds.

Round 1 - Coding Test 

OA consisted of two DSA questions.

Round 2 - Technical 

(1 Question)

  • Q1. Was asked dsa based questions.

SDE Interview Questions Asked at Other Companies

asked in Infosys
Q1. Return Subsets Sum to K Problem Statement Given an integer array ... read more
asked in Nagarro
Q2. Partition to K Equal Sum Subsets Problem Given an array of intege ... read more
asked in Nagarro
Q3. Sort a "K" Sorted Doubly Linked List Given a doubly-linked list w ... read more
asked in Nagarro
Q4. Maximum Meetings Selection You are tasked with scheduling meeting ... read more
asked in Amazon
Q5. There is a 12 km road and a contractor who is in-charge of repair ... read more

SDE Interview Questions & Answers

user image Vijayalakshmi Chidambaram

posted on 21 Nov 2024

Interview experience
4
Good
Difficulty level
-
Process Duration
-
Result
-
Round 1 - Technical 

(2 Questions)

  • Q1. General behavioral kinda questions on my last project
  • Q2. LLD question where coding in 30 mins

SDE Interview Questions & Answers

user image Anonymous

posted on 9 Dec 2024

Interview experience
5
Excellent
Difficulty level
Moderate
Process Duration
-
Result
Selected Selected

I applied via LinkedIn and was interviewed in Nov 2024. There were 3 interview rounds.

Round 1 - Aptitude Test 

Simple Normal DSA Question

Round 2 - Coding Test 

Focus on DSA and optimization

Round 3 - Coding Test 

Project Discussion and some Date structure questions

Interview Preparation Tips

Interview preparation tips for other job seekers - It was normal simple

Amazon interview questions for designations

 SDE Intern

 (15)

 SDE-2

 (14)

 SDE-1 Position

 (2)

 SDE (Software Development Engineer)

 (22)

 Customer Service Associate

 (155)

 Customer Service Executive

 (102)

 Transaction Risk Investigator

 (102)

 Associate

 (87)

SDE Interview Questions & Answers

user image Anonymous

posted on 12 Jan 2025

Interview experience
5
Excellent
Difficulty level
-
Process Duration
-
Result
Selected Selected
Round 1 - Coding Test 

Good DSA Questions
Recursion, Graph and Tree

Get interview-ready with Top Amazon Interview Questions

SDE Interview Questions & Answers

user image Anonymous

posted on 12 Sep 2024

Interview experience
4
Good
Difficulty level
Moderate
Process Duration
-
Result
No response

I applied via Company Website and was interviewed in Aug 2024. There were 2 interview rounds.

Round 1 - Technical 

(2 Questions)

  • Q1. String pattern matching
  • Q2. Behavioral questions
Round 2 - Technical 

(2 Questions)

  • Q1. Behavioral questions
  • Q2. BFS file system

SDE Jobs at Amazon

View all

SDE Interview Questions & Answers

user image Anonymous

posted on 31 Dec 2024

Interview experience
5
Excellent
Difficulty level
-
Process Duration
-
Result
-
Round 1 - Assignment 

There are two straightforward data structure and algorithm questions, while the others primarily consist of multiple-choice questions, mostly focusing on nodes and Python.

Round 2 - Coding Test 

In the telephonic round, they primarily assess your problem-solving skills. The interviewer asked me a binary search question, which I was able to solve, but it took me a considerable amount of time to arrive at the solution. This was likely the main reason for my rejection.

SDE Interview Questions & Answers

user image Aryan Verma

posted on 28 Oct 2024

Interview experience
5
Excellent
Difficulty level
Hard
Process Duration
Less than 2 weeks
Result
Selected Selected

I applied via Naukri.com and was interviewed in Sep 2024. There was 1 interview round.

Round 1 - Aptitude Test 

Find the order of excecution in sql

Interview Preparation Tips

Interview preparation tips for other job seekers - nothing as such go with the flow....

SDE Interview Questions & Answers

user image Yatharth Singh

posted on 5 Dec 2024

Interview experience
3
Average
Difficulty level
Moderate
Process Duration
Less than 2 weeks
Result
Not Selected

I applied via LinkedIn and was interviewed in Nov 2024. There was 1 interview round.

Round 1 - Coding Test 

It was a one hour DS Algo Round based on recursion and DP. I managed to get to the logic for the problem but couldn't execute compltely due to time constraints

SDE Interview Questions & Answers

user image Anonymous

posted on 29 Jun 2024

Interview experience
4
Good
Difficulty level
Moderate
Process Duration
Less than 2 weeks
Result
Not Selected

I applied via Naukri.com and was interviewed in May 2024. There were 2 interview rounds.

Round 1 - Coding Test 

HACKER RANK TEST WITH MEDIUM LEVEL QUESTIONS

Round 2 - Technical 

(3 Questions)

  • Q1. CREATE A LINKED LIST
  • Ans. 

    A linked list is a data structure consisting of nodes where each node points to the next node in the sequence.

    • Create a Node class with data and next pointer

    • Initialize a head pointer to null

    • Add nodes by updating next pointers

  • Answered by AI
  • Q2. FIND THE LOOP IN LINKED LIST
  • Ans. 

    To find a loop in a linked list, use Floyd's Tortoise and Hare algorithm.

    • Use two pointers, slow and fast, to traverse the linked list.

    • If there is a loop, the two pointers will eventually meet at the same node.

    • To find the start of the loop, reset one pointer to the head and move both pointers at the same pace.

  • Answered by AI
  • Q3. QUESTION BASED ON DYNAMIC PROGRAMMING

Interview Preparation Tips

Topics to prepare for Amazon SDE interview:
  • Data Structures
  • Algorithms
  • Java
Interview preparation tips for other job seekers - PREPARE WELL ON DATA STRUCTURES AND ALGORITHMS

Skills evaluated in this interview

SDE Interview Questions & Answers

user image Anonymous

posted on 24 Aug 2024

Interview experience
5
Excellent
Difficulty level
Moderate
Process Duration
Less than 2 weeks
Result
Selected Selected

I applied via Company Website and was interviewed in Jul 2024. There were 5 interview rounds.

Round 1 - Coding Test 

SLiding window problem

Round 2 - Coding Test 

Tree problem variation

Round 3 - Coding Test 

DP Problems same questions but with different cases

Round 4 - HR 

(2 Questions)

  • Q1. Experience with last company
  • Ans. 

    I worked at a tech startup where I developed web applications and implemented new features.

    • Led a team of developers to successfully launch a new mobile app

    • Implemented a new payment gateway system to improve user experience

    • Collaborated with product managers to prioritize and deliver features on time

  • Answered by AI
  • Q2. How you handle pressure
  • Ans. 

    I handle pressure by staying organized, prioritizing tasks, and taking breaks when needed.

    • I prioritize tasks based on deadlines and importance

    • I break down large tasks into smaller, manageable steps

    • I communicate with team members or supervisors if feeling overwhelmed

    • I practice mindfulness techniques like deep breathing or meditation to stay calm

  • Answered by AI
Round 5 - Behavioral 

(1 Question)

  • Q1. Behavioural ROund

Amazon Interview FAQs

How many rounds are there in Amazon SDE interview?
Amazon interview process usually has 2-3 rounds. The most common rounds in the Amazon interview process are Coding Test, Technical and Resume Shortlist.
How to prepare for Amazon SDE interview?
Go through your CV in detail and study all the technologies mentioned in your CV. Prepare at least two technologies or languages in depth if you are appearing for a technical interview at Amazon. The most common topics and skills that interviewers at Amazon expect are C++, Algorithms, Java, Analytical Chemistry and Architectural Design.
What are the top questions asked in Amazon SDE interview?

Some of the top questions asked at the Amazon SDE interview -

  1. There is a 12 km road and a contractor who is in-charge of repairing it. Contra...read more
  2. There are n nuts and n bolts represented in two different arrays and a function...read more
  3. A stream of data is coming. Maintain records in a page and mechanism to see pre...read more
How long is the Amazon SDE interview process?

The duration of Amazon SDE interview process can vary, but typically it takes about less than 2 weeks to complete.

Tell us how to improve this page.

Amazon SDE Interview Process

based on 35 interviews

4 Interview rounds

  • Coding Test Round - 1
  • Technical Round - 1
  • Coding Test Round - 2
  • Technical Round - 2
View more

SDE Interview Questions from Similar Companies

Flipkart SDE Interview Questions
4.0
 • 5 Interviews
Myntra SDE Interview Questions
4.0
 • 3 Interviews
Paytm SDE Interview Questions
3.3
 • 2 Interviews
Uber SDE Interview Questions
4.2
 • 2 Interviews
Snapdeal SDE Interview Questions
3.8
 • 1 Interview
Blinkit SDE Interview Questions
3.7
 • 1 Interview
LinkedIn SDE Interview Questions
4.3
 • 1 Interview
Facebook SDE Interview Questions
4.4
 • 1 Interview
View all
Amazon SDE Salary
based on 313 salaries
₹12 L/yr - ₹50 L/yr
45% more than the average SDE Salary in India
View more details

Amazon SDE Reviews and Ratings

based on 26 reviews

3.5/5

Rating in categories

3.5

Skill development

3.1

Work-life balance

3.9

Salary

2.5

Job security

3.4

Company culture

3.1

Promotions

3.3

Work satisfaction

Explore 26 Reviews and Ratings
SDE

Hyderabad / Secunderabad

0-7 Yrs

Not Disclosed

SDE

Chennai

3-10 Yrs

Not Disclosed

Explore more jobs
Customer Service Associate
4.2k salaries
unlock blur

₹0.6 L/yr - ₹6.8 L/yr

Transaction Risk Investigator
3.1k salaries
unlock blur

₹2.3 L/yr - ₹6.5 L/yr

Associate
2.8k salaries
unlock blur

₹0.8 L/yr - ₹6.9 L/yr

Senior Associate
2.5k salaries
unlock blur

₹2 L/yr - ₹10.1 L/yr

Program Manager
2.3k salaries
unlock blur

₹9 L/yr - ₹36 L/yr

Explore more salaries
Compare Amazon with

Flipkart

4.0
Compare

TCS

3.7
Compare

Google

4.4
Compare

Netflix

4.5
Compare
Did you find this page helpful?
Yes No
write
Share an Interview