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 (Software Development Engineer) Interview Questions and Answers

Updated 8 Mar 2023

11 Interview questions

A SDE (Software Development Engineer) was asked
Q. Given a sorted dictionary (array of words) of an alien language, find the order of characters in the language.
Ans. 

Sorting a list of words with a random order using an alien dictionary

  • Create a graph with nodes as characters and edges as the order of characters in words

  • Topologically sort the graph to get the correct order of characters

  • Use the order to sort the list of words

A SDE (Software Development Engineer) was asked
Q. Implement a simple binary search algorithm, handling edge cases for a straightforward problem.
Ans. 

Implement a binary search algorithm with edge case handling for efficient searching in a sorted array.

  • Binary search works on sorted arrays. Example: [1, 2, 3, 4, 5]

  • Check if the array is empty before searching. Example: []

  • Handle cases where the target is not found. Example: Searching for 6 in [1, 2, 3, 4, 5]

  • Consider edge cases for the first and last elements. Example: Searching for 1 or 5 in [1, 2, 3, 4, 5]

  • Return t...

SDE (Software Development Engineer) Interview Questions Asked at Other Companies

asked in Carwale
Q1. Given a string consisting of lowercase alphabets, write a functio ... read more
Q2. How would you design a text editor like notepad, focusing on the ... read more
asked in Carwale
Q3. Given a balance and 100 coins, where one coin is heavier than the ... read more
Q4. Given a binary search tree, print the path which has the sum equa ... read more
asked in Housing.com
Q5. Given a 1024x1024 map with flats at locations (x, y) and a visibi ... read more
🔥 Asked by recruiter 2 times
A SDE (Software Development Engineer) was asked
Q. Given an array of intervals where intervals[i] = [starti, endi], merge all overlapping intervals, and return an array of the non-overlapping intervals that cover all the intervals in the input.
Ans. 

Merge overlapping intervals

  • Sort the intervals based on their start time

  • Iterate through the intervals and merge overlapping ones

  • Return the merged intervals

A SDE (Software Development Engineer) was asked
Q. Write a program to find all the sibling nodes of a BST.
Ans. 

Program to find all sibling nodes of a BST

  • Traverse the BST and keep track of parent node

  • If a node has the same parent as another node, they are siblings

  • Recursively check left and right subtrees

  • Use a queue or stack to implement level order traversal

What people are saying about Amazon

View All
an influencer marketing manager
1w
Should she delete her LinkedIn post or not?
Asking for a friend, Since last 3 months, she has been facing multiple issues including mental harassment by her manager at her workplace. She tried all official channels including reporting to the HR and even to the CEO eventually, but surprisingly, nothing happened. Infact, as a retaliation, she was put on PIP last month by here manager. So finally as a response to this continuous harassment, she went to LinkedIn and called out her manager, the company and even the CEO. And this is what she has received in response! The company is threatening her of legal actions and now we are confused, whether to delete the posts or to maintain our stand. Any help would be highly recommended at this point!
FeedCard Image
Got a question about Amazon?
Ask anonymously on communities.
A SDE (Software Development Engineer) was asked
Q. Are you aware of high and low-level design principles?
Ans. 

Yes, high and low level design principles are important in software development.

  • High level design principles focus on overall architecture and system organization.

  • Low level design principles focus on implementation details and code structure.

  • Examples of high level design principles include SOLID, DRY, and KISS.

  • Examples of low level design principles include naming conventions, code commenting, and code formatting.

  • ...

A SDE (Software Development Engineer) was asked
Q. How would you convert an expression to postfix notation?
Ans. 

Convert an expression to post-fix notation.

  • Start with an empty stack.

  • Scan the expression from left to right.

  • If the scanned character is an operand, output it.

  • If the scanned character is an operator, pop two operands from stack, output them in post-fix notation and push the result back.

  • Repeat until the end of expression.

🔥 Asked by recruiter 2 times
A SDE (Software Development Engineer) was asked
Q. Given an integer array nums, find the contiguous subarray (containing at least one number) which has the largest sum and return its sum.
Ans. 

Find the maximum continuous sum in an array of integers.

  • Use Kadane's algorithm to find the maximum subarray sum in linear time complexity.

  • Initialize two variables, one for current maximum sum and another for overall maximum sum.

  • Iterate through the array and update the variables accordingly.

  • Example: For array [-2, 1, -3, 4, -1, 2, 1, -5, 4], the maximum continuous sum is 6 (from index 3 to 6).

Are these interview questions helpful?
A SDE (Software Development Engineer) was asked
Q. Given a sorted array of unknown length, how would you search for an element?
Ans. 

Implement binary search in a semi-infinite array.

  • Start with the first element and keep doubling the index until the target element is less than the current element.

  • Perform binary search on the subarray from the last doubled index to the current index.

  • If the target element is not found, repeat the process by doubling the last index and searching again.

  • Handle edge cases where the target element is at the first index...

A SDE (Software Development Engineer) was asked
Q. Given an array of integers and an integer K, find the maximum value of each subarray of size K.
Ans. 

Find maximum of every window of size K in an array

  • Iterate through the array and maintain a deque of indices of elements in the current window

  • Remove indices from the front of the deque if they are outside the current window

  • Remove indices from the back of the deque if their corresponding elements are smaller than the current element

  • The front of the deque will always contain the index of the maximum element in the cu...

A SDE (Software Development Engineer) was asked
Q. Write a program to calculate the sum of nodes at each level of a tree.
Ans. 

Program to calculate sum of level order tree

  • Traverse the tree level by level using BFS

  • Add the values of each level and return the sum

  • Use a queue to store the nodes at each level

  • Handle edge cases like empty tree or null root

Amazon SDE (Software Development Engineer) Interview Experiences

22 interviews found

Interview experience
4
Good
Difficulty level
Moderate
Process Duration
4-6 weeks
Result
Selected Selected

I applied via Approached by Company and was interviewed in Feb 2023. There were 5 interview rounds.

Round 1 - Resume Shortlist 
Pro Tip by AmbitionBox:
Keep your resume crisp and to the point. A recruiter looks at your resume for an average of 6 seconds, make sure to leave the best impression.
View all tips
Round 2 - Coding Test 

60 mins, 2 Coding questions general Leetcode medium ones

Round 3 - One-on-one 

(2 Questions)

  • Q1. Alien Dictionary with slight modification to sort list of words with some random order
  • Ans. 

    Sorting a list of words with a random order using an alien dictionary

    • Create a graph with nodes as characters and edges as the order of characters in words

    • Topologically sort the graph to get the correct order of characters

    • Use the order to sort the list of words

  • Answered by AI
  • Q2. Leetcode easy question based on math and arrays
Round 4 - One-on-one 

(1 Question)

  • Q1. Simple Binary search with some edge case handling on a straight forward problem
  • Ans. 

    Implement a binary search algorithm with edge case handling for efficient searching in a sorted array.

    • Binary search works on sorted arrays. Example: [1, 2, 3, 4, 5]

    • Check if the array is empty before searching. Example: []

    • Handle cases where the target is not found. Example: Searching for 6 in [1, 2, 3, 4, 5]

    • Consider edge cases for the first and last elements. Example: Searching for 1 or 5 in [1, 2, 3, 4, 5]

    • Return the in...

  • Answered by AI
Round 5 - One-on-one 

(1 Question)

  • Q1. Hiring Manager round, discussion went on LP and one technical question based on stacks implementation

Interview Preparation Tips

Interview preparation tips for other job seekers - Leetcode mediums are a simlpe yet effective way to make most out of the technical discussions and dont be disheartened on rejections even in the very later stage of the process. This is something not in your control keep your head up high and evolve !

Skills evaluated in this interview

Interview experience
2
Poor
Difficulty level
Hard
Process Duration
2-4 weeks
Result
Not Selected

I applied via Company Website and was interviewed in Oct 2022. There were 3 interview rounds.

Round 1 - Resume Shortlist 
Pro Tip by AmbitionBox:
Properly align and format text in your resume. A recruiter will have to spend more time reading poorly aligned text, leading to high chances of rejection.
View all tips
Round 2 - Coding Test 

2 CODING QUESTIONS IN ONE HOIR TIME DURATION

Round 3 - Technical 

(2 Questions)

  • Q1. 1.BIT MANIPULATION 2. BASIC DYNAMIC PROGRAMMING QUESTION TOTAL TIME DURATION - 1HR
  • Ans. 

    Interview question on bit manipulation and basic dynamic programming

    • Be familiar with bitwise operators like AND, OR, XOR, and bit shifting

    • Understand how to use bit manipulation to solve problems like counting set bits or checking if a number is a power of 2

    • For dynamic programming, break down the problem into smaller subproblems and use memoization or tabulation to avoid redundant calculations

    • Practice solving coding pro...

  • Answered by AI
  • Q2. BASIC- OOPS, DBMS, COMPUTER NETWORKING QUESTIONS.

Interview Preparation Tips

Interview preparation tips for other job seekers - PREPARE STANDARD DATA STRUCTURES QUESTIONS.
FOCUS ON BEST APPROACH

I applied via Campus Placement and was interviewed in Aug 2022. There were 2 interview rounds.

Round 1 - Coding Test 

1 hr, 2 questions, Arrays prefix sum and slide window, Greedy and DP.

Round 2 - Technical 

(1 Question)

  • Q1. 1. Basic Intro 2. Question regarding the greedy approach to filling gaps in the elements. You have been provided with 3 arguments of n, m, o, you can use at most those numbers of times "m", "n" and "o" an...

Interview Preparation Tips

Topics to prepare for Amazon SDE (Software Development Engineer) interview:
  • DSA
Interview preparation tips for other job seekers - Be confident and Share the thinking pattern with the interviewer

I applied via Company Website and was interviewed in May 2022. There were 3 interview rounds.

Round 1 - Coding Test 

Coding test had 3 questions of medium to hard difficulty level, also has MCQ to find right answer

Round 2 - Technical 

(2 Questions)

  • Q1. Discussion on first string question followed by tree question.
  • Q2. String was solved using dynamic programming and simple tree traversal in reverse. Use GFG for detailed explanation.
Round 3 - HR 

(2 Questions)

  • Q1. Salary kitna loge ? Discuss karlein ?
  • Q2. CTC is around 44 LPA, base is around 15LPA

Interview Preparation Tips

Topics to prepare for Amazon SDE (Software Development Engineer) interview:
  • Tree
  • Graph
Interview preparation tips for other job seekers - Study graph and tree, they are their favourite. Practice leet code every day and then the interview will be a cake walk.
Round 1 - Resume Shortlist 
Pro Tip by AmbitionBox:
Don’t add your photo or details such as gender, age, and address in your resume. These details do not add any value.
View all tips
Round 2 - Coding Test 

Questions related to oops and binary tree (leetcode medium)

Round 3 - Technical 

(2 Questions)

  • Q1. Question on binary tree and dp
  • Q2. Merge overlapping intervals
  • Ans. 

    Merge overlapping intervals

    • Sort the intervals based on their start time

    • Iterate through the intervals and merge overlapping ones

    • Return the merged intervals

  • Answered by AI

Interview Preparation Tips

Interview preparation tips for other job seekers - practice leetcode and geeks for geeks . do computer science fundamentals from gate smashers

Skills evaluated in this interview

I applied via Referral and was interviewed in Jan 2022. There were 3 interview rounds.

Round 1 - Coding Test 

1. Two Leetcode medium Level Questions
2. First one was based on Strings manipulation, hashmaps.
3. Second one was based on DFS/BFS.

Round 2 - Technical 

(1 Question)

  • Q1. 1. Amazon Leadership principles (IMP) 2. Snakes and Ladder question (Leetcode) 3. Questions related to project and previous work
Round 3 - Technical 

(1 Question)

  • Q1. 1. Amazon Leadership principle 2. Question based on Tree(House Robber) 3. Question based on Game Theory

Interview Preparation Tips

Interview preparation tips for other job seekers - Practice DSA day and night and be confident.
Round 1 - Coding Test 

Easy questions both were from string concept

Round 2 - Technical 

(1 Question)

  • Q1. Graph and DP question - had to code it live

Interview Preparation Tips

Interview preparation tips for other job seekers - Amazon had only 2 rounds. Both were technical rounds after which students were selected for 6-month internship.
Round 1 - Coding Test 
Round 2 - Coding Test 
Round 3 - One-on-one 

(1 Question)

  • Q1. About project worked in last year
Round 4 - Coding Test 

Interview Preparation Tips

Interview preparation tips for other job seekers - Follow basic Data structure and explore multiple approaches. Think aloud.

I applied via Naukri.com and was interviewed in Jul 2022. There were 3 interview rounds.

Round 1 - Resume Shortlist 
Pro Tip by AmbitionBox:
Keep your resume crisp and to the point. A recruiter looks at your resume for an average of 6 seconds, make sure to leave the best impression.
View all tips
Round 2 - Aptitude Test 

They asked you near by30 apptitude question

Round 3 - Aptitude Test 

ARITHMETIC GPRAHICDesigner

Interview Preparation Tips

Interview preparation tips for other job seekers - PREPARATION COURSE FOR GIRLFRIEND IN THE SECOND TIME TO ME TO ME AND ALSO THE SAME

I applied via LinkedIn and was interviewed in Feb 2022. There was 1 interview round.

Round 1 - One-on-one 

(1 Question)

  • Q1. Write a program to find all the sibling node of the BST
  • Ans. 

    Program to find all sibling nodes of a BST

    • Traverse the BST and keep track of parent node

    • If a node has the same parent as another node, they are siblings

    • Recursively check left and right subtrees

    • Use a queue or stack to implement level order traversal

  • Answered by AI

Interview Preparation Tips

Topics to prepare for Amazon SDE (Software Development Engineer) interview:
  • DSA
Interview preparation tips for other job seekers - Amazon and other companies don't expect freshers to be very very thorough, but you should be clear enough with DSA concepts to know how and when to apply the optimized algorithms

Skills evaluated in this interview

Amazon Interview FAQs

How many rounds are there in Amazon SDE (Software Development Engineer) interview?
Amazon interview process usually has 2-3 rounds. The most common rounds in the Amazon interview process are Coding Test, Technical and One-on-one Round.
What are the top questions asked in Amazon SDE (Software Development Engineer) interview?

Some of the top questions asked at the Amazon SDE (Software Development Engineer) interview -

  1. Write a program to calculate the sum of level order t...read more
  2. Alien Dictionary with slight modification to sort list of words with some rando...read more
  3. How will you store a particular data, we need to suggest a DS for th...read more

Tell us how to improve this page.

Overall Interview Experience Rating

3/5

based on 2 interview experiences

Difficulty level

Moderate 50%
Hard 50%

Duration

2-4 weeks 50%
4-6 weeks 50%
View more

Interview Questions from Similar Companies

Uber Interview Questions
4.2
 • 155 Interviews
Expedia Group Interview Questions
3.8
 • 78 Interviews
LinkedIn Interview Questions
4.3
 • 69 Interviews
OLX Interview Questions
3.8
 • 60 Interviews
Facebook Interview Questions
4.3
 • 53 Interviews
Uplers Interview Questions
3.9
 • 43 Interviews
Groupon Interview Questions
3.1
 • 42 Interviews
Fareportal Interview Questions
3.3
 • 32 Interviews
Yahoo Interview Questions
4.6
 • 30 Interviews
Airbnb Interview Questions
3.7
 • 25 Interviews
View all
Amazon SDE (Software Development Engineer) Salary
based on 673 salaries
₹34.3 L/yr - ₹70.2 L/yr
33% more than the average SDE (Software Development Engineer) Salary in India
View more details

Amazon SDE (Software Development Engineer) Reviews and Ratings

based on 69 reviews

3.7/5

Rating in categories

4.1

Skill development

3.1

Work-life balance

4.2

Salary

3.0

Job security

3.6

Company culture

3.6

Promotions

3.5

Work satisfaction

Explore 69 Reviews and Ratings
Customer Service Associate
4.1k salaries
unlock blur

₹0.6 L/yr - ₹8 L/yr

Transaction Risk Investigator
3.1k salaries
unlock blur

₹2 L/yr - ₹6.5 L/yr

Associate
3.1k salaries
unlock blur

₹0.8 L/yr - ₹7 L/yr

Senior Associate
2.6k salaries
unlock blur

₹1.8 L/yr - ₹9 L/yr

Software Developer
2.2k salaries
unlock blur

₹27.1 L/yr - ₹56.3 L/yr

Explore more salaries
Compare Amazon with

Flipkart

3.9
Compare

TCS

3.6
Compare

Google

4.4
Compare

Netflix

4.3
Compare
write
Share an Interview