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

Clear (1)

Amazon Software Developer Interview Questions, Process, and Tips

Updated 6 Mar 2025

Top Amazon Software Developer Interview Questions and Answers

  • Q1. Maximum Subarray Sum Problem Statement Given an array of integers, determine the maximum possible sum of any contiguous subarray within the array. Example: Input: array ...read more
  • Q2. Minimum Number of Platforms Needed Problem Statement You are given the arrival and departure times of N trains at a railway station for a particular day. Your task is to ...read more
  • Q3. Fenwick Tree Problem Statement You are provided with an array/list ARR consisting of 'N' integers, along with 'Q' queries. Each query can be of one of the following two ...read more
View all 321 questions

Amazon Software Developer Interview Experiences

187 interviews found

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

I applied via Campus Placement and was interviewed before Jun 2023. There were 3 interview rounds.

Round 1 - Coding Test 

2 Questions based on Data Structures

Round 2 - Technical 

(2 Questions)

  • Q1. Median of 2 sorted arrays
  • Ans. 

    Find the median of two sorted arrays

    • Merge the two arrays into one sorted array and find the median

    • Use binary search to find the median efficiently

    • Handle edge cases like arrays of different lengths

  • Answered by AI
  • Q2. Minimum cost of ropes
  • Ans. 

    The minimum cost of ropes can be calculated using a greedy algorithm approach.

    • Calculate the cost of joining two smallest ropes at each step

    • Add the cost to the total cost and update the list of ropes

    • Repeat until only one rope is left

  • Answered by AI
Round 3 - Technical 

(2 Questions)

  • Q1. LRU Cache implemetation
  • Q2. Trapping rain water problem
  • Ans. 

    Trapping rain water problem involves calculating the amount of water that can be trapped between buildings given their heights.

    • Calculate the maximum height on the left and right of each building

    • Subtract the building height from the minimum of the two maximum heights to get the water trapped at that building

    • Sum up the water trapped at each building to get the total trapped water

  • Answered by AI

Skills evaluated in this interview

I was interviewed in May 2022.

Round 1 - Coding Test 

(2 Questions)

Round duration - 90 minutes
Round difficulty - Easy

90 minutes round Seven debugging questions, two coding questions, Behavioural questions

  • Q1. 

    Maximum Path Sum Between Two Leaves

    Given a non-empty binary tree where each node has a non-negative integer value, determine the maximum possible sum of the path between any two leaves of the given tree.

    ...
  • Ans. 

    Find the maximum path sum between two leaf nodes in a binary tree.

    • Traverse the tree to find the maximum path sum between two leaf nodes

    • Consider both cases where the path passes through the root and where it doesn't

    • Use recursion to calculate the sum of paths from each leaf node to the root

  • Answered by AI
  • Q2. 

    Path In A Tree Problem Statement

    Given a binary tree with 'N' nodes and a specific node 'X', your goal is to print the path from the root node to the specified node 'X'.

    Explanation:

    A binary tree is a ...

  • Ans. 

    Given a binary tree and a target node, find the path from the root to the target node.

    • Traverse the binary tree from the root to the target node using depth-first search (DFS).

    • Store the path from the root to the target node while traversing the tree.

    • Print the stored path as the output for each test case.

    • Ensure uniqueness of node values and that the target node exists in the tree.

  • Answered by AI
Round 2 - Face to Face 

(2 Questions)

Round duration - 60 minutes
Round difficulty - Medium

The interviewer directly stated with coding question. He asked me 2 coding questions and he was aspecting the optimal working code of both.

  • Q1. 

    Boundary Traversal Problem Statement

    Given a binary tree of integers, your task is to return the boundary nodes of this binary tree in an anti-clockwise direction starting from the root node.

    Example:

    I...
  • Ans. 

    Return the boundary nodes of a binary tree in an anti-clockwise direction starting from the root node.

    • Traverse the left boundary nodes in a top-down manner

    • Traverse the leaf nodes from left to right

    • Traverse the right boundary nodes in a bottom-up manner

    • Avoid repeating nodes in the output

    • Example: For input 1 2 3 4 -1 5 6 -1 7 -1 -1 -1 -1 -1 -1, output should be 1 2 4 7 6 3

  • Answered by AI
  • Q2. 

    Maximum Consecutive Ones Problem Statement

    Given a binary array 'ARR' of size 'N', your task is to determine the maximum length of a sequence consisting solely of 1’s that can be obtained by converting at...

  • Ans. 

    The task is to find the maximum length of a sequence of 1's by converting at most K zeroes into ones in a binary array.

    • Iterate through the array and keep track of the current window of 1's and zeroes.

    • Use a sliding window approach to find the maximum length of consecutive 1's by flipping at most K zeroes.

    • Update the window based on the number of zeroes flipped and keep track of the maximum length found so far.

    • Return the

  • Answered by AI
Round 3 - Face to Face 

(1 Question)

Round duration - 60 minutes
Round difficulty - Medium

The interviewer started with tell me about your self. Then he started asking about my previous intenship projects and some Common Hr questions like why you want to join amazon. This went for almost 30 minutes then he asked me to solve a coding question similar to Rotten Orange question.

  • Q1. 

    Rotting Oranges Problem Statement

    You are given a grid containing oranges where each cell of the grid can contain one of the three integer values:

    • 0 - representing an empty cell
    • 1 - representing a fre...
  • Ans. 

    Find the minimum time required to rot all fresh oranges in a grid.

    • Use Breadth First Search (BFS) to simulate the rotting process.

    • Track the time taken to rot all fresh oranges.

    • Return -1 if not all fresh oranges can be rotten.

    • Handle edge cases like empty grid or no fresh oranges.

    • Example: For the given grid, it takes 4 seconds to rot all fresh oranges.

  • Answered by AI

Interview Preparation Tips

Professional and academic backgroundI completed Computer Science Engineering from Malaviya National Institute of Technology Jaipur. Eligibility criteriaNoAmazon interview preparation:Topics to prepare for the interview - DSA, ALGORITHMS, Dynamic Programming, Graph, OOPS, PointersTime required to prepare for the interview - 2 yearsInterview preparation tips for other job seekers

Tip 1 : Practice as many questions as u can
Tip 2 : Focus on DSA

Application resume tips for other job seekers

Tip 1 : Add some good projects
Tip 2 : Don't add copied Projects

Final outcome of the interviewSelected

Skills evaluated in this interview

Software Developer Interview Questions Asked at Other Companies

asked in Amazon
Q1. Maximum Subarray Sum Problem Statement Given an array of integers ... read more
asked in Amazon
Q2. Minimum Number of Platforms Needed Problem Statement You are give ... read more
asked in Rakuten
Q3. Merge Two Sorted Arrays Problem Statement Given two sorted intege ... read more
asked in Cognizant
Q4. Nth Fibonacci Number Problem Statement Calculate the Nth term in ... read more
Q5. Find Duplicate in Array Problem Statement You are provided with a ... read more

I was interviewed in May 2022.

Round 1 - Coding Test 

(2 Questions)

Round duration - 90 Minutes
Round difficulty - Medium

Timing-90 Duration Of Assessment 
you need to give the test within 5 days of getting the test mail.

Test is conducted virtually through Hackerrank platform and after that it redirects to Amazon page where we need to answer questions related to Amazon’s Leadership Principles and workstyles.

  • Q1. 

    Unique Paths Problem Statement

    Given the dimensions of an M x N matrix, determine the total number of unique paths from the top-left corner to the bottom-right corner of the matrix.

    Allowed moves are onl...

  • Ans. 

    The problem involves finding the total number of unique paths from the top-left corner to the bottom-right corner of an M x N matrix by moving only right or down.

    • Use dynamic programming to solve this problem efficiently.

    • Create a 2D array to store the number of unique paths for each cell in the matrix.

    • Initialize the first row and first column with 1 as there is only one way to reach each cell in those rows and columns.

    • F...

  • Answered by AI
  • Q2. 

    Left View of a Binary Tree

    Given a binary tree, your task is to print the left view of the tree. The left view of a binary tree contains the nodes visible when the tree is viewed from the left side.

    Inpu...

  • Ans. 

    Print the left view of a binary tree, containing nodes visible from the left side.

    • Traverse the tree level by level and print the first node of each level.

    • Use a queue to keep track of nodes at each level.

    • Handle null nodes represented by -1 in the input.

  • Answered by AI
Round 2 - Face to Face 

(1 Question)

Round duration - 60 Minutes
Round difficulty - Hard

We need to solve 1 or 2(based on interviewer) coding question within 1 hour in which we need to explain our approach before writing the code and we need to give optimal solution of the approach.

  • Q1. 

    Minimum Jumps Problem Statement

    Bob and his wife are in the famous 'Arcade' mall in the city of Berland. This mall has a unique way of moving between shops using trampolines. Each shop is laid out in a st...

  • Ans. 

    Find the minimum number of jumps Bob needs to make from shop 0 to reach the final shop, or return -1 if impossible.

    • Use Breadth First Search (BFS) to find the minimum number of jumps needed.

    • Keep track of the maximum reachable index at each step.

    • If the maximum reachable index is less than the current index, return -1 as it's impossible to reach the last shop.

  • Answered by AI

Interview Preparation Tips

Professional and academic backgroundI completed Computer Science Engineering from Deenbandhu Chhotu Ram University Of Science And Technology. I applied for the job as SDE - 1 in BangaloreEligibility criteria7 CGPA, good in programming/DSAAmazon interview preparation:Topics to prepare for the interview - Data Structures, Algorithms, OOPS, DBMS, OSTime required to prepare for the interview - 6 MonthsInterview preparation tips for other job seekers

Tip 1 : Do lots of competitive programming
Tip 2 : Create a nice portfolio on any coding platform like LeetCode or CodeChef because it will attract recruiter's. 
Tip 3 : Pick only one Programming language for coding because it will help you to learn syntax by heart.

Application resume tips for other job seekers

Tip 1 : Try to make resume of single column because it easily bypass the parser/scanner 
Tip 2 : Do not put false things and over skills in your resume.
Tip 3 : Either you are fresher or experienced still don't make resume more than 2 pages.

Final outcome of the interviewRejected

Skills evaluated in this interview

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

I applied via Company Website and was interviewed before Jun 2022. There were 4 interview rounds.

Round 1 - Coding Test 

2 hacker rank tests and one round of behavior

Round 2 - One-on-one 

(1 Question)

  • Q1. A basic tree question
Round 3 - One-on-one 

(1 Question)

  • Q1. Design chess game
  • Ans. 

    Design a chess game with all the necessary components and rules.

    • Create a board with 64 squares (8x8 grid)

    • Assign pieces to each player (16 pieces per player)

    • Implement movement rules for each piece (e.g. pawn moves forward, bishop moves diagonally)

    • Include special moves like castling and en passant

    • Implement win conditions (checkmate, stalemate)

    • Consider implementing features like undo move, AI opponent

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

(1 Question)

  • Q1. Graph and a greedy problem

Amazon interview questions for designations

 Software Developer Intern

 (94)

 Junior Software Developer

 (3)

 Senior Software Developer

 (1)

 Java Software Developer

 (1)

 Full Stack Software Developer

 (1)

 Software Developer 1

 (1)

 Developer

 (3)

 Software Engineer

 (77)

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

I applied via Approached by Company and was interviewed before May 2023. There were 4 interview rounds.

Round 1 - Coding Test 

An online coding test link was given, had to solve the problem within required time.

Round 2 - Coding Test 

Again there was coding round

Round 3 - One-on-one 

(1 Question)

  • Q1. The guy asked a lot of questions I was able to answer it.
Round 4 - One-on-one 

(1 Question)

  • Q1. Now it was behavioral round, and I had no idea about it.

Get interview-ready with Top Amazon Interview Questions

Interview experience
4
Good
Difficulty level
Moderate
Process Duration
Less than 2 weeks
Result
No response

I applied via Referral and was interviewed before Sep 2022. There were 2 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 Resume tips
Round 2 - One-on-one 

(2 Questions)

  • Q1. Rotten oranges problem
  • Ans. 

    The Rotten Oranges problem involves determining the minimum time required to rot all oranges in a grid.

    • Create a queue to store the coordinates of rotten oranges

    • Iterate through the grid and add all rotten oranges to the queue

    • Use BFS to rot adjacent fresh oranges and update their status

    • Continue the process until no fresh oranges are left or all oranges are rotten

  • Answered by AI
  • Q2. Snake and ladder design

Interview Preparation Tips

Interview preparation tips for other job seekers - Prepare DSA well

Skills evaluated in this interview

Software Developer Jobs at Amazon

View all

I applied via Company Website and was interviewed in Jun 2022. There were 2 interview rounds.

Round 1 - Coding Test 

Test on HackerEarth, problems related to Dynamic Programming

Round 2 - Technical 

(2 Questions)

  • Q1. 1.Leetcode medium hashmap question 2. GFG hard question on Graph
  • Q2. 3. Leetocode medium string question

Interview Preparation Tips

Interview preparation tips for other job seekers - Practice and practice DSA as much as possible. Development knowledge is important.

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

Round 1 - Coding Test 

Was conducted on HackerRank platform with medium difficulty.

Round 2 - Technical 

(2 Questions)

  • Q1. Count Inversions in an array
  • Ans. 

    Count the number of inversions in an array.

    • An inversion occurs when a larger number appears before a smaller number in an array.

    • Use a divide and conquer approach to solve the problem.

    • Merge sort can be used to count the number of inversions in an array.

  • Answered by AI
  • Q2. Next Greater Element Using Stacks
  • Ans. 

    Next Greater Element Using Stacks - find the next greater element for each element in an array using stack data structure.

    • Create an empty stack and push the first element of the array onto it.

    • Iterate through the array from the second element.

    • While the stack is not empty and the current element is greater than the top element of the stack, pop the stack and set the popped element's next greater element as the current el...

  • Answered by AI

Interview Preparation Tips

Interview preparation tips for other job seekers - Do Leetcode, GFG medium level questions because they mostly ask from there or there will be slight variation.

Skills evaluated in this interview

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

I applied via LinkedIn and was interviewed before Apr 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 Resume tips
Round 2 - Coding Test 

3 coding problems, medium to high level

Round 3 - Technical 

(2 Questions)

  • Q1. Opps concepts and code implementation
  • Q2. One question based on sliding window technique

I was interviewed in Feb 2022.

Round 1 - Coding Test 

(1 Question)

Round duration - 90 minutes
Round difficulty - Medium

  • Q1. 

    Minimum Number of Platforms Needed Problem Statement

    You are given the arrival and departure times of N trains at a railway station for a particular day. Your task is to determine the minimum number of pl...

  • Ans. 

    Determine the minimum number of platforms needed at a railway station based on arrival and departure times of trains.

    • Sort the arrival and departure times in ascending order.

    • Use two pointers to keep track of overlapping schedules.

    • Increment the platform count when a new train arrives before the previous one departs.

    • Return the maximum platform count needed.

  • Answered by AI
Round 2 - Telephonic Call 

(1 Question)

Round duration - 45 Minutes
Round difficulty - Medium

  • Q1. 

    Car Pooling Problem Statement

    You are tasked with driving a cab that moves in a straight line, only forward, and initially has 'C' empty seats available for passengers.

    Given 'N' trips, each defined by t...

  • Ans. 

    The problem involves determining if a cab with a certain capacity can successfully pick up and drop off passengers at specified points for multiple trips.

    • Create a function that takes in the car's capacity, number of trips, and trip details as input

    • Iterate through each trip and check if the total number of passengers picked up and dropped off is within the car's capacity

    • Return 'True' if all trips can be successfully com

  • Answered by AI
Round 3 - Telephonic Call 

(1 Question)

Round duration - 45 Minutes
Round difficulty - Medium

  • Q1. 

    Best Time To Buy and Sell Stock Problem Statement

    You are given an array 'PRICES' of 'N' integers, where 'PRICES[i]' represents the price of a certain stock on the i-th day. An integer 'K' is also provide...

  • Ans. 

    Find the maximum profit achievable with at most K transactions by buying and selling stocks.

    • Iterate through the array and keep track of the minimum price to buy and maximum profit for each transaction.

    • Use dynamic programming to store the maximum profit at each day with each possible number of transactions.

    • Consider edge cases like when K is 0 or when the array is empty.

    • Example: For input N = 6, PRICES = [3, 2, 6, 5, 0,

  • Answered by AI
Round 4 - HR 

Round duration - 45 minutes
Round difficulty - Easy

This round is to check leadership principals, and to get to know about some projects, and some basic CS fundamentals.

Interview Preparation Tips

Professional and academic backgroundI completed Computer Science Engineering from National Institute of Technology Kurukshetra. Eligibility criteria7 CGPAAmazon interview preparation:Topics to prepare for the interview - Data Structures,Algorithms, OOPs, Computer Science fundamentals, DBMSTime required to prepare for the interview - 12 monthsInterview preparation tips for other job seekers

Tip 1 : Daily Practice DSA for atleast 2 hours
Tip 2 : Keep Fundamental concepts strong and clear
Tip 3 : Do mock Interviews to get comfortable on it.

Application resume tips for other job seekers

Tip 1 : Try to mentions self made good projects along with the coding platform handles, where you have done pretty well.
Tip 2 : Mentions some are the achievements, like good coding contest rank, hackathon participations, open source contributions.
Tip3 :  Don't fake on the projects, it's a red flag.

Final outcome of the interviewSelected

Skills evaluated in this interview

Contribute & help others!
anonymous
You can choose to be anonymous

Amazon Interview FAQs

How many rounds are there in Amazon Software Developer 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.
How to prepare for Amazon Software Developer 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 Java, Medical Coding, Team Management, Architectural Design and Architecture.
What are the top questions asked in Amazon Software Developer interview?

Some of the top questions asked at the Amazon Software Developer interview -

  1. There is a 12 km road and a contractor who is in-charge of repairing it. Contra...read more
  2. What are the different types of hashing? Suggest an alternative and a better wa...read more
  3. 14. you have given a string of multiline. you have to print the maximum occupa...read more
How long is the Amazon Software Developer interview process?

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

Recently Viewed

INTERVIEWS

Ocwen Financial Solutions

No Interviews

JOBS

Ocwen Financial Solutions

No Jobs

INTERVIEWS

Multi Tech Systems & Controls

No Interviews

INTERVIEWS

Shaadi.com

No Interviews

INTERVIEWS

Shaadi.com

No Interviews

DESIGNATION

REVIEWS

Visteon

No Reviews

INTERVIEWS

Shaadi.com

No Interviews

INTERVIEWS

Shaadi.com

20 top interview questions

Tell us how to improve this page.

Amazon Software Developer Interview Process

based on 119 interviews

5 Interview rounds

  • Coding Test Round - 1
  • Coding Test Round - 2
  • Video Call Round - 1
  • Video Call Round - 2
  • Video Call Round - 3
View more
Amazon Software Developer Salary
based on 1.6k salaries
₹25.1 L/yr - ₹55 L/yr
295% more than the average Software Developer Salary in India
View more details

Amazon Software Developer Reviews and Ratings

based on 263 reviews

4.0/5

Rating in categories

3.9

Skill development

3.6

Work-life balance

4.1

Salary

3.5

Job security

3.8

Company culture

3.7

Promotions

3.7

Work satisfaction

Explore 263 Reviews and Ratings
Software Dev Manager, Sable

Bangalore / Bengaluru

5-17 Yrs

Not Disclosed

Sr. Software Dev Manager, Amazon Music

Bangalore / Bengaluru

12-12 Yrs

Not Disclosed

Software Dev Manager, FireTV

Chennai

5-17 Yrs

Not Disclosed

Explore more jobs
Customer Service Associate
4.2k salaries
unlock blur

₹0 L/yr - ₹0 L/yr

Transaction Risk Investigator
3.1k salaries
unlock blur

₹0 L/yr - ₹0 L/yr

Associate
2.9k salaries
unlock blur

₹0 L/yr - ₹0 L/yr

Senior Associate
2.5k salaries
unlock blur

₹0 L/yr - ₹0 L/yr

Program Manager
2.1k salaries
unlock blur

₹0 L/yr - ₹0 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