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 Software Developer Interview Questions, Process, and Tips

Updated 17 Feb 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

186 interviews found

I was interviewed in Dec 2021.

Round 1 - Coding Test 

(2 Questions)

Round duration - 90 minutes
Round difficulty - Easy

It consisted of two sections - first section had two coding questions and second section had to submit explanations for your solutions. One of the question was a simple spiral traversal of a two-dimensional matrix. Other was a straightforward binary search question. Level of this round was very easy.

  • Q1. 

    Spiral Matrix Problem Statement

    You are provided with a 2-D array called MATRIX with dimensions N x M containing integers. Your task is to return the matrix's elements in a spiral order.

    Example:

    Inpu...

  • Ans. 

    The task is to return the elements of a 2-D array in a spiral order.

    • Traverse the matrix in a spiral order by moving right, down, left, and up.

    • Keep track of the boundaries of the matrix as you move along.

    • Handle cases where the matrix is not a square (N != M).

  • Answered by AI
  • Q2. 

    Covid Vaccination Distribution Problem

    As the Government ramps up vaccination drives to combat the second wave of Covid-19, you are tasked with helping plan an effective vaccination schedule. Your goal is...

  • Ans. 

    Given constraints and rules, find maximum vaccines administered on a specific day during a vaccination drive.

    • Iterate through each test case and calculate the maximum number of vaccines distributed on the specified day.

    • Distribute vaccines evenly across days while maximizing the number on the specified day.

    • Ensure that the sum of vaccines distributed does not exceed the maximum allowed.

    • Consider edge cases like when the nu...

  • Answered by AI
Round 2 - Telephonic Call 

(1 Question)

Round duration - 60 Minutes
Round difficulty - Medium

This was the first F2F interview. He started by asking me about the work I did in my previous company. He seemed genuinely interested in knowing the project I was working on. Also asked me some technical questions related to that project. Asked a couple of questions related to the skills I had mentioned on my resume like AWS lambda etc. I was able to answer all question correctly except one. Then I was given one coding task to solve. I was required to start coding instantly and explain what I was doing simultaneously. Other than the coding task, interviewer asked me a couple of behavioral questions

  • Q1. What are the differences between static and dynamic memory allocation?
  • Ans. 

    Static memory allocation is done at compile time, while dynamic memory allocation is done at runtime.

    • Static memory allocation is fixed in size and allocated on the stack, while dynamic memory allocation can change in size and is allocated on the heap.

    • Static memory allocation is determined at compile time, while dynamic memory allocation is determined at runtime.

    • Static memory allocation is less flexible but faster, whil...

  • Answered by AI
Round 3 - Telephonic Call 

(1 Question)

Round duration - 60 Minutes
Round difficulty - Easy

Asked me two coding questions.

  • Q1. 

    Binary Strings Without Consecutive 1s Problem Statement

    Given an integer K, your task is to generate all binary strings of length K such that there are no consecutive 1s in the string.

    This means the bin...

  • Ans. 

    Generate all binary strings of length K without consecutive 1s in lexicographically increasing order.

    • Use backtracking to generate all possible binary strings without consecutive 1s.

    • Start with an empty string and recursively add '0' or '1' based on the condition of no consecutive 1s.

    • Keep track of the current string and its length to check for consecutive 1s.

    • Return the generated binary strings in lexicographically increa

  • Answered by AI
Round 4 - Telephonic Call 

(1 Question)

Round duration - 60 Minutes
Round difficulty - Medium

This was HM round. He asked me some behavioral questions which seemed like a formality. He asked me some questions on OOPS and OS. Then gave me a coding question. Wanted me to explain the approach and run it. I asked him a couple of question at the end of interview related to the work and tech stack used by the team.

  • Q1. 

    Number with Maximum Probability Problem Statement

    In this game, players Ninja Misha and Ninja Andrew each choose an integer within the range of 1 to 'N'. After their choices, a random integer 'C' is drawn...

  • Ans. 

    Find the optimal number for Andrew to choose to maximize his winning probability in a game against Misha.

    • Andrew should choose the number equidistant from Misha's number and the random integer C to maximize his winning probability.

    • The optimal number for Andrew to choose is the average of Misha's number and C, rounded up if the average is not an integer.

    • If the average of Misha's number and C is an integer, Andrew should ...

  • Answered by AI
Round 5 - Telephonic Call 

(1 Question)

Round duration - 60 Minutes
Round difficulty - Medium

He asked me some questions about my role in previous organization. Asked me the architecture of the systems I have worked on. Then asked me a coding question.

  • Q1. 

    Search in a Row-wise and Column-wise Sorted Matrix Problem Statement

    You are given an N * N matrix of integers where each row and each column is sorted in increasing order. Your task is to find the positi...

  • Ans. 

    Given a sorted N*N matrix, find the position of a target integer X.

    • Use binary search on each row to find the potential row where the target might be located.

    • Then use binary search on that row to find the column where the target is located.

    • Return the position if found, otherwise return -1 -1.

  • Answered by AI

Interview Preparation Tips

Eligibility criteriaNo criteriaAmazon interview preparation:Topics to prepare for the interview - Data structures and Algorithms, OOPS concepts, Operating Systems, Trees, Binary Search, Dynamic ProgrammingTime required to prepare for the interview - 2 MonthsInterview preparation tips for other job seekers

Tip 1 : Consistently practice DSA questions.
Tip 2 : Regularly participating in contests held on competitive programming platforms(codeforces, codechef etc) will definitely help in developing an aptitude for problem solving and also improves speed to solve such questions
Tip 3 : Revise basic questions of OOPS and OS like polymorphism, race condition, semaphores, deadlock etc.

Application resume tips for other job seekers

Tip 1 : Only mention your most important skills and achievements to keep it short and precise.
Tip 2 : Have a sound knowledge of all projects mentioned.

Final outcome of the interviewSelected

Skills evaluated in this interview

I was interviewed in Aug 2021.

Round 1 - Coding Test 

(2 Questions)

Round duration - 90 Minutes
Round difficulty - Easy

Online Coding Round

  • Q1. 

    Shortest Path in a Binary Maze

    Find the length of the shortest path in a binary maze given in the form of a rectangular matrix of size M*N, where each element is 0 or 1. Calculate the shortest path from a...

  • Ans. 

    Step 1 -> Start a BFS from the given source point
    Step 2 -> Maintain a counter variable which holds the value of the level of BFS which is being investigated
    Step 3-> When you reach the target cell point return the value of counter variable which will denote the shortest distance.
    Step 4-> If target is not reached return -1 in the end after the BFS is completed

  • Answered Anonymously
  • Q2. 

    Connecting Ropes with Minimum Cost

    You are given 'N' ropes, each of varying lengths. The task is to connect all ropes into one single rope. The cost of connecting two ropes is the sum of their lengths. Yo...

  • Ans. 

    Step 1 -> Declare a Min Heap and push all the given rope lengths in it.
    Step 2 -> Execute till the size of the Min Heap is greater than 2.
    Step 3 -> At each step take the top most two entries from the Min Heap and add them to your cost.
    Step 4 -> Also add the two min entries taken at some point back to Min heap as two ropes of size x and y when joined together creates a new rope of size x+y which can be used f...

  • Answered Anonymously
Round 2 - Video Call 

(2 Questions)

Round duration - 60 minutes
Round difficulty - Medium

Problem Solving and Data Structures round.

  • Q1. 

    Anagram Pairs Verification

    In this task, you need to verify if two provided strings are anagrams of each other. Two strings are considered anagrams if you can rearrange the letters of one string to form t...

  • Ans. 

    Step 1-> Run two nested for loops to check for each pair (arr[i],arr[j]) are anagrams of each other or not.
    Step 2-> For checking anagrams I used hashing where I counted frequency of each character if all the frequencies were same in both the string return true else return false that they are not anagrams.
    Step 3 -> Grouped the pairs which matched that they are anagrams.

    Extended Problem Solution:
    When all the cha...

  • Answered Anonymously
  • Q2. 

    Inversion Count Problem

    Given an integer array ARR of size N with all distinct values, determine the total number of 'Inversions' that exist.

    Explanation:

    An inversion is a pair of indices (i, j) such t...

  • Ans. 

    First I gave a Brute force solution using two nested Loops and trying out all pairs, which Interviewer asked me to optimize.
    I asked about the constraints of elements occurring in the array , it was given that each arr[i]<=10^5 
    Step 1 -> Declare a Binary Indexed Tree of size equal to maximum element occurring in array 
    Step 2- > Traverse array from end till start (N-1 index till 0) and at each step if ...

  • Answered Anonymously
Round 3 - Video Call 

(1 Question)

Round duration - 60 Minutes
Round difficulty - Medium

DSA and Problem Solving

  • Q1. 

    Minimum Window Subsequence Problem Statement

    You are given two strings S and T. Your task is to determine the smallest contiguous substring W of S, such that T is a subsequence of W.

    A subsequence is a s...

  • Ans. 

    Step 1 -> Gave a Brute force solution by trying out all substrings and building a check function to verify if current window has all characters of other string or not.
    Step 2-> I was told to optimize it
    Step 3-> Tried using hashing + sliding window
    Step 4 -> was not able to code it up properly.
    Step 5 -> Tried doing it using Binary search where start=Length of String B and end= String length of A and tried e...

  • Answered Anonymously
Round 4 - Video Call 

Round duration - 75 Minutes
Round difficulty - Easy

Deep discussions about projects about the tech stack used and why it is used . In depth subject questions .

Interview Preparation Tips

Professional and academic backgroundI completed Information Technology from J.C. Bose University of Science and Technology, YMCA. I applied for the job as SDE - 1 in GurgaonEligibility criteriaNAAmazon interview preparation:Topics to prepare for the interview - Data Structures , Algorithms, OOPS, Computer Networks, Data Base Management System , Operating SystemsTime required to prepare for the interview - 2 monthsInterview preparation tips for other job seekers

Tip 1 : Practice all previous amazon interview questions
Tip 2 : Study Well about your projects about databases used and the reason they are used.

Application resume tips for other job seekers

Tip 1 : Well defined projects in resume
Tip 2 : Problem solving/Open source skills are a plus

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

Software Developer Interview Questions & Answers

user image Prerna Suneja

posted on 29 Sep 2023

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

I applied via campus placement at Young Men Christian Association (YMCA) and was interviewed before Sep 2022. There were 4 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 

Difficult level medium

Round 3 - One-on-one 

(1 Question)

  • Q1. Lru cache using hashmap and doubly linked list
  • Ans. 

    LRU cache can be implemented using a hashmap to store key-value pairs and a doubly linked list to keep track of the most recently used items.

    • Use a hashmap to store key-value pairs for quick access to values

    • Use a doubly linked list to keep track of the order of items based on their usage

    • When a new item is accessed, move it to the front of the linked list and update the hashmap accordingly

    • When the cache is full, remove t...

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

(1 Question)

  • Q1. Hotel bookings possible question from interviewbit

Interview Preparation Tips

Interview preparation tips for other job seekers - take help from interviewer by discussinf solution

Skills evaluated in this interview

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

Round 1 - Coding Test 

Questions like leetcode, a lot of double linked lists

Round 2 - HR 

(2 Questions)

  • Q1. The last time i was failed
  • Q2. How i deal with failure

Interview Preparation Tips

Interview preparation tips for other job seekers - do leet code - medium level and read the discusses
recursion, linked - lists
go over the leadership principles

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)

I was interviewed in Jul 2021.

Round 1 - Coding Test 

(2 Questions)

Round duration - 60 minutes
Round difficulty - Easy

There was 2 coding questions
Based on ds and algorithms

  • Q1. 

    Count Inversions Problem Statement

    Given an integer array ARR of size N, your task is to find the total number of inversions that exist in the array.

    An inversion is defined for a pair of integers in the...

  • Q2. 

    Kth Smallest Element in an Unsorted Array

    Given an unsorted array arr of distinct integers and an integer k, your task is to find the k-th smallest element in the array.

    Input:

    The first line of input c...
Round 2 - Video Call 

(3 Questions)

Round duration - 45 minutes
Round difficulty - Easy

It was easy and the interviewer is very friendly

  • Q1. 

    Anagram Pairs Verification Problem

    Your task is to determine if two given strings are anagrams of each other. Two strings are considered anagrams if you can rearrange the letters of one string to form the...

  • Q2. 

    Longest Increasing Subsequence Problem Statement

    Given 'N' students standing in a row with specific heights, your task is to find the length of the longest strictly increasing subsequence of their heights...

  • Q3. 

    Find Missing Number In String Problem Statement

    You have a sequence of consecutive nonnegative integers. By appending all integers end-to-end, you formed a string S without any separators. During this pro...

Round 3 - HR 

Round duration - 20 minutes
Round difficulty - Medium

Asked general questions based on family
Spoke about ctc and relocation

Interview Preparation Tips

Professional and academic backgroundI applied for the job as SDE - 1 in HyderabadEligibility criteriaAbove 65 percentAmazon interview preparation:Topics to prepare for the interview - Data Structures and Algorithms, Operating Systems, Computer Networks, JavaTime required to prepare for the interview - 3 monthsInterview preparation tips for other job seekers

Tip 1 : Even if you are stuck in the problem, just give a try. The interviewer will help you definitely for sure.
Tip 2 : Prepare Data Structures and Algorithms well. They mostly check our Problem Solving ability to find the solutions for the real world problems.
Tip 3 : Be enough confident, don't be nervous. Maintain atleast 2 projects in your resume.

Application resume tips for other job seekers

Tip 1 : Mention atleast 2 projects.
Tip 2 : Mention your skills in which you are perfect.

Final outcome of the interviewRejected

Skills evaluated in this interview

Get interview-ready with Top Amazon Interview Questions

Interview experience
4
Good
Difficulty level
Hard
Process Duration
6-8 weeks
Result
No response

I applied via Campus Placement and was interviewed before Mar 2022. There were 3 interview rounds.

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 

There were two parts to the online assessment round. The first part is the coding round(two questions were asked). And 2nd part is the work simulation round. Click on the below link to know about the work simulation round -----.

Coding questions were easy and medium-level difficulty.


Equilibrium index of an array
Don’t remember the exact question but it was a medium-level difficulty.
The Interviews were conducted on the Amazon Chime platform. Coding questions were asked to code on Amazon’s LiveCode platform. Each interview round was between 60-90 minutes.

Round 3 - Technical 

(3 Questions)

  • Q1. DSA Questions Candy crush question / k consecutive same element will pop out Tree cousins question Leadership principle questions When is the time when you showed your ownership skills? Ans How? Is the...
  • Q2. DSA Questions Boundary Traversal of Tree. Frog Jump Question (Striver DP series 1st question) with a small modification. ou Leadership principle questions I am unable to remember now. but she asked 2 que...
  • Q3. This round was the longest round(nearly 90 minutes). DSA Questions Word search in character matrix Tree next pointer question Leadership Principle questions He asked so many questions. What is the big...

Interview Preparation Tips

Interview preparation tips for other job seekers - Practice and keep consistent.
After one-day results were announced. Boom !! I was selected.

One day or Day one you decide. Keep coding. All the best.

Software Developer Jobs at Amazon

View all

I applied via campus placement at Vellore Institute of Technology (VIT) and was interviewed in Mar 2022. There were 2 interview rounds.

Round 1 - Coding Test 

2 coding questions on hackerrank. One was dp and one was simple array question

Round 2 - Technical 

(1 Question)

  • Q1. The question was a sliding window

Interview Preparation Tips

Interview preparation tips for other job seekers - Just do DSA. Only DSA matters. Rest everything is secondary

I was interviewed in May 2021.

Round 1 - Coding Test 

(1 Question)

Round duration - 120 Minutes
Round difficulty - Easy

The round started from 11AM. The test can be given from home from a laptop.

  • Q1. 

    K Closest Points to Origin Problem Statement

    Your house is located at the origin (0,0) of a 2-D plane. There are N neighbors living at different points on the plane. Your goal is to visit exactly K neighb...

Round 2 - Video Call 

(2 Questions)

Round duration - 60 minutes
Round difficulty - Medium

The interview started around 10 AM and it was on the video call.

  • Q1. 

    LCA of Binary Tree Problem Statement

    You are given a binary tree consisting of distinct integers and two nodes, X and Y. Your task is to find and return the Lowest Common Ancestor (LCA) of these two nodes...

  • Q2. 

    Word Search Problem Statement

    Given a matrix of characters with dimensions N * M, you need to process 'Q' queries. For each query, you are given a word 'W' and you must determine if you can form word 'W' ...

Interview Preparation Tips

Professional and academic backgroundI applied for the job as SDE - 1 in HyderabadEligibility criteria6 CPIAmazon interview preparation:Topics to prepare for the interview - Computer Networks, Data Structures and Algorithms, Graph, OS, OOPSTime required to prepare for the interview - 10 monthsInterview preparation tips for other job seekers

Tip 1 : Read resume before interview
Tip 2 : Be well versed with basic system design
Tip 3 : Practice mock interviews

Application resume tips for other job seekers

Tip 1 : Know everything written in you resume
Tip 2 : Mention important things in bold

Final outcome of the interviewRejected

Skills evaluated in this interview

Software Developer Interview Questions & Answers

user image FACELESS BUDDY

posted on 22 Apr 2022

I applied via Approached by Company and was interviewed in Mar 2022. There was 1 interview round.

Round 1 - Technical 

(1 Question)

  • Q1. Stock buy and sell problem from leetcode

Interview Preparation Tips

Interview preparation tips for other job seekers - Solve leetcode questions daily and latest gfg questions

I applied via Referral and was interviewed in May 2021. There were 3 interview rounds.

Interview Questionnaire 

1 Question

  • Q1. Find shortest path in an unweighted graph
  • Ans. 

    Shortest path in an unweighted graph

    • Use Breadth First Search (BFS) algorithm to find shortest path

    • Start from the source node and traverse the graph level by level

    • Keep track of visited nodes to avoid loops

    • Stop when the destination node is found

    • Return the path from source to destination using parent pointers

  • Answered by AI

Interview Preparation Tips

What is your professional and academic background?At the time of the interview, I had 1 - 3 years of experience.Amazon interview Rounds:Round 1
Round type - Written test
Round duration - 75 Minutes
Round description -
Two coding questions, with online compiler, with automated tests.
The questions are easy to medium level.

Round 2
Round type - Technical
Round duration - 60 Minutes
Round description -
Basic introduction and questions regarding projects. Two coding questions were asked, both were shared editor coding rounds. Code was checked manually for both quality and correctness.

Round 3
Round type - Technical
Round description -
2 coding questions.
Questions regarding Amazon's leadership principles. And examples where you demonstrated them in your previous work.
Amazon interview Preparation:What topics did you prepare for the interview? - 1. Graphs, dp, trees
2. Databases, is
3. Code design practicesWhat resources did you refer to prepare for the interview? - 1. Any online resource for clean code
2. Basic practice of cp algorithms
3. YouTube videos for understanding amazon culture.What tips would you give to other job seekers? - 1. Prepare binary trees of all kinds, and graphs very well.
2. Write clean code
3. Thoroughly read over Amazon's leadership principles.What was the final outcome of your interview?Selected

Skills evaluated in this interview

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. 14. you have given a string of multiline. you have to print the maximum occupa...read more
  3. What are the different types of hashing? Suggest an alternative and a better wa...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.

Tell us how to improve this page.

Amazon Software Developer Interview Process

based on 117 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.5 L/yr - ₹55 L/yr
303% more than the average Software Developer Salary in India
View more details

Amazon Software Developer Reviews and Ratings

based on 262 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 262 Reviews and Ratings
Software Development Eng II, Appstore Quality Tech

Bangalore / Bengaluru

2-5 Yrs

₹ 5-53 LPA

Software Dev Manager - L6, Payee Management

Hyderabad / Secunderabad

5-17 Yrs

Not Disclosed

Software Developer

Bangalore / Bengaluru

8-13 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