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 and Answers

Updated 3 Jun 2025

383 Interview questions

A Software Developer was asked
Q. Given two strings, A and B, remove each character from string A that occurs in B. If a character occurs n times in B, remove n occurrences of that character from A.
Ans. 

Remove characters from string A that appear in string B, considering their frequency in B.

  • Use a frequency counter for string B to track occurrences of each character.

  • Iterate through string A and build a new string excluding characters found in B.

  • Example: A = 'hello', B = 'l' -> Result: 'heo'.

  • Example: A = 'banana', B = 'an' -> Result: 'b'.

  • Consider edge cases like empty strings or no common characters.

A Software Developer was asked
Q. Given an array where the difference between two consecutive elements is one, find a given number in the array with minimum time complexity.
Ans. 

Find a number in a consecutive integer array using binary search for optimal time complexity.

  • The array is sorted and consists of consecutive integers, e.g., [1, 2, 3, 4, 5].

  • Use binary search to find the number in O(log n) time complexity.

  • Calculate the mid index and compare the middle element with the target.

  • If the target is less than the middle element, search the left half; otherwise, search the right half.

  • Exampl...

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 Rakuten
Q2. Merge Two Sorted Arrays Problem Statement Given two sorted intege ... read more
asked in Amazon
Q3. Minimum Number of Platforms Needed Problem Statement You are give ... read more
asked in Cognizant
Q4. Nth Fibonacci Number Problem Statement Calculate the Nth term in ... read more
asked in PhonePe
Q5. Form a Triangle Problem Statement You are given an array of integ ... read more
A Software Developer was asked
Q. Given a coordinate system with n points, how would you calculate the m minimum distance points from a given origin point? Suggest a data structure for this.
Ans. 

Use a min-heap to efficiently find the m closest points to an origin in a coordinate system.

  • 1. Use a min-heap (priority queue) to store points based on their distance from the origin.

  • 2. Calculate the distance using the Euclidean formula: distance = sqrt((x2 - x1)^2 + (y2 - y1)^2).

  • 3. Insert points into the heap and maintain its size to m to keep only the closest points.

  • 4. Example: For points (1,2), (3,4), (5,6) and...

A Software Developer was asked
Q. If you were to access data from a social networking site such as Facebook, what methods would you suggest to remove latency in accessing the data?
Ans. 

Implementing caching, optimizing queries, and using CDNs can reduce latency when accessing data from social networking sites.

  • Use caching mechanisms like Redis or Memcached to store frequently accessed data.

  • Optimize database queries to reduce response time, e.g., using indexes.

  • Implement pagination to load data in chunks instead of all at once.

  • Utilize Content Delivery Networks (CDNs) to serve static assets closer to...

What people are saying about Amazon

View All
sparklingfettuccine
Verified Icon
3d
currently not working
Amazon CSA role Hyderabad
I want to know how much time does it takes for Amazon to approve my badge photo for permanent work from home CSA role as I submitted my badge photo 4 days ago and still did not receive any information regarding my bgv as I was told I'll receive it soon.
Got a question about Amazon?
Ask anonymously on communities.
A Software Developer was asked
Q. Given a set of password requirements, how would you validate a user-provided password against those requirements, and display a 'password rejected' message if any requirement is not met?
Ans. 

Validate user passwords against predefined conditions to ensure security and compliance.

  • Password must be at least 8 characters long. Example: 'Password1' is valid, 'Pass' is invalid.

  • Password must contain at least one uppercase letter. Example: 'Password1' is valid, 'password1' is invalid.

  • Password must contain at least one lowercase letter. Example: 'Password1' is valid, 'PASSWORD1' is invalid.

  • Password must include...

A Software Developer was asked
Q. Given a BST, replace the value in each node with the sum of all the nodes which have values greater than the node itself.
Ans. 

The given question asks to replace the value in each node of a binary search tree with the sum of all nodes greater than the current node.

  • Traverse the BST in reverse order (right, root, left)

  • Keep track of the sum of all greater nodes encountered so far

  • Update the value of each node with the sum and update the sum

A Software Developer was asked
Q. In a system with 4 GB of RAM, the OS only uses around 3.2 GB. Why is the rest of the memory unused?
Ans. 

The remaining memory is not wasted, but reserved for other system processes and applications.

  • The operating system reserves a portion of the RAM for its own processes and functions.

  • The unused memory can be used for caching data, improving system performance.

  • Applications and processes may not require the full amount of RAM at all times.

  • The unused memory can be allocated to other applications when needed.

  • Virtual memo...

Are these interview questions helpful?
A Software Developer was asked
Q. How do you determine if a tree is a BST?
Ans. 

To identify if a tree is a BST, check if the inorder traversal of the tree results in a sorted sequence.

  • Perform an inorder traversal of the tree

  • Check if the resulting sequence is sorted in ascending order

  • If yes, the tree is a BST; otherwise, it is not

A Software Developer was asked
Q. How do you handle multiple requests for storing multiple files on a server to ensure mutual exclusion?
Ans. 

Use file locking mechanism to ensure mutual exclusion.

  • Implement file locking mechanism to prevent simultaneous access to files.

  • Use semaphores or mutexes to ensure only one process can access a file at a time.

  • Implement a queue system to handle multiple requests and process them one by one.

  • Use transactional file systems to ensure atomicity of file operations.

  • Implement a timeout mechanism to prevent deadlocks.

  • Conside...

A Software Developer was asked
Q. Write complete code for implementing a hash table.
Ans. 

Implementing a hash table in code

  • Choose a hash function to map keys to indices in the table

  • Create an array to hold the values at each index

  • Handle collisions by using a collision resolution strategy

  • Implement methods for inserting, retrieving, and deleting values

  • Consider load factor and resizing the table if necessary

Amazon Software Developer Interview Experiences

197 interviews found

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

I appeared for an interview in Feb 2025.

Round 1 - One-on-one 

(2 Questions)

  • Q1. Self introduction
  • Q2. Hi , good morning this is kamakshi from someswaram Dr br Ambedkar konaseema district Andhra
Round 2 - Assignment 

Coding questions about our technical skills

Round 3 - Technical 

(1 Question)

  • Q1. About our skills
Round 4 - HR 

(1 Question)

  • Q1. According to the skills to move hr
Interview experience
5
Excellent
Difficulty level
Easy
Process Duration
Less than 2 weeks
Result
Not Selected

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

Round 1 - HR 

(5 Questions)

  • Q1. Why Amazon Software Developer?
  • Ans. 

    Amazon offers challenging projects, innovative technologies, and a collaborative work environment.

    • Opportunity to work on cutting-edge projects like Amazon Web Services (AWS) or Alexa

    • Access to vast resources and tools for development

    • Collaborative work culture that encourages learning and growth

    • Opportunity to impact millions of customers worldwide

    • Competitive compensation and benefits package

  • Answered by AI
  • Q2. Why do you want to work at amazon ?
  • Ans. 

    I want to work at Amazon because of their innovative culture, vast resources, and opportunities for growth.

    • Amazon is known for its innovative culture and cutting-edge technology.

    • They have vast resources and a global reach, providing opportunities to work on impactful projects.

    • Amazon offers great career growth and development opportunities for software developers.

    • I admire Amazon's customer-centric approach and focus on ...

  • Answered by AI
  • Q3. What are your strengths and weakness?
  • Ans. 

    My strengths include problem-solving skills and attention to detail. My weakness is sometimes being too critical of my own work.

    • Strengths: problem-solving skills

    • Strengths: attention to detail

    • Weakness: being too critical of my own work

  • Answered by AI
  • Q4. How would you solve?
  • Ans. 

    I would solve the problem by breaking it down into smaller tasks, analyzing requirements, designing a solution, coding, testing, and debugging.

    • Analyze requirements thoroughly before starting the development process

    • Break down the problem into smaller tasks to make it more manageable

    • Design a solution architecture that meets the requirements and is scalable

    • Code the solution using best practices and coding standards

    • Test th...

  • Answered by AI
  • Q5. What are the short term and long-term for teame or organisation?
  • Ans. 

    Short term goals focus on immediate tasks and objectives, while long-term goals involve strategic planning and growth.

    • Short term goals may include completing a specific project, improving team communication, or implementing a new software feature.

    • Long-term goals could involve expanding the team, increasing market share, or developing new products or services.

    • Short term goals help keep the team focused and motivated, wh...

  • Answered by AI

Interview Preparation Tips

Topics to prepare for Amazon Software Developer interview:
  • Excel
  • Data Entry
  • Project Management
  • Ms World
  • Programming
  • Google software developer
  • Microsoft software developer
Interview preparation tips for other job seekers - Here are some tips and advice for seekers looking to land a role at amazon software developer....
1. Understand Amazon's culture:?
2. Review job description ?
3.update your resume.? B
INTERVIEW PREPARATION
1.Research the team and role ?
2. Prepare to talk about your experience?
3.How would you solve?
4.What are your strengths and weakness?
Interview experience
5
Excellent
Difficulty level
Moderate
Process Duration
4-6 weeks
Result
No response

I applied via Company Website and was interviewed in Jun 2024. There were 6 interview rounds.

Round 1 - Coding Test 

It was a coding test on Hackerrank with 3 Leetcode easy to medium-level questions.

Round 2 - Technical 

(1 Question)

  • Q1. Phone Interview Round - LP-based discussion followed by an easy DSA question.
Round 3 - Technical 

(1 Question)

  • Q1. Loop Round 1 (Hiring Manager Round) - LP-based discussion followed by a system design question (HLD) which was basically around what the hiring team is working on.
Round 4 - Technical 

(1 Question)

  • Q1. Loop Round 2 (Coding Round) - LP-based discussion followed by a Leetcode medium coding question.
Round 5 - Technical 

(1 Question)

  • Q1. Loop Round 3 (Coding Round) - LP-based discussion followed by an OOD question which was fairly simple but the requirements were not clarified very well even on asking multiple times. Ask and clarify to the...
Round 6 - Technical 

(1 Question)

  • Q1. Loop Round 4 (Coding Round) (Bar Raiser) - LP-based discussion followed by a Leetcode medium coding question.

Interview Preparation Tips

Topics to prepare for Amazon Software Developer interview:
  • Data Structures
  • Algorithms
  • System Design
  • Object Oriented Design
  • Amazon Leadership Principles
Interview preparation tips for other job seekers - Prepare well for DSA and System Design.

Stay confident.

For System Design and OOD, always clarify the requirements since it's very open-ended and subjective. And do keep an eye on the clock.
Interview experience
5
Excellent
Difficulty level
Moderate
Process Duration
2-4 weeks
Result
No response

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

Round 1 - Aptitude Test 

Good but tough i dint do well but still qualified

Round 2 - Coding Test 

Very tough only graphs dp and linked lists were asked

Round 3 - Technical 

(2 Questions)

  • Q1. Reverse a linked list
  • Q2. Dfs of a graph
  • Ans. 

    Depth-first search (DFS) is a graph traversal algorithm that explores as far as possible along each branch before backtracking.

    • DFS starts at a selected node and explores as far as possible along each branch before backtracking.

    • It uses a stack to keep track of nodes to visit next.

    • DFS can be implemented recursively or iteratively.

    • Example: DFS traversal of a graph starting from node A: A -> B -> D -> E -> C -&...

  • Answered by AI

Interview Preparation Tips

Interview preparation tips for other job seekers - go all in on your technical skills

Skills evaluated in this interview

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

(2 Questions)

  • Q1. Least Common Ancestor of binary tree
  • Q2. Smallest path to reach from a to b point in matrix
  • Ans. 

    Use Dijkstra's algorithm to find the smallest path from point a to point b in a matrix.

    • Implement Dijkstra's algorithm to find the shortest path in a matrix

    • Create a matrix representation of the graph with weights on edges

    • Start from point a and explore all possible paths to reach point b

  • Answered by AI
Interview experience
5
Excellent
Difficulty level
-
Process Duration
-
Result
-
Round 1 - Coding Test 

Hacker rank test include 2 code and mcg questions

Round 2 - One-on-one 

(2 Questions)

  • Q1. Coding based on linked list
  • Ans. 

    Linked lists are dynamic data structures that consist of nodes, each containing data and a reference to the next node.

    • A linked list consists of nodes, where each node has data and a pointer to the next node.

    • Types of linked lists include singly linked lists, doubly linked lists, and circular linked lists.

    • Example of a singly linked list: Node1 -> Node2 -> Node3 -> NULL.

    • Doubly linked list allows traversal in both...

  • Answered by AI
  • Q2. String related coding questions
Interview experience
4
Good
Difficulty level
-
Process Duration
-
Result
-
Round 1 - Coding Test 

Two coding questions, both passed 100%

Round 2 - Technical 

(1 Question)

  • Q1. What is the problem of identifying duplicates in an array?
  • Ans. 

    Identifying duplicates in an array involves finding and removing elements that appear more than once.

    • Iterate through the array and use a hash set to keep track of elements seen so far.

    • If an element is already in the hash set, it is a duplicate and can be removed.

    • Example: ['apple', 'banana', 'apple', 'orange'] - 'apple' is a duplicate.

    • Example: ['cat', 'dog', 'bird', 'cat'] - 'cat' is a duplicate.

  • Answered by AI
Interview experience
3
Average
Difficulty level
-
Process Duration
-
Result
-
Round 1 - Coding Test 

2-3 coding questions with some mcq

Round 2 - One-on-one 

(2 Questions)

  • Q1. Live coding with the hr
  • Q2. Binary Trees based traversal
Interview experience
5
Excellent
Difficulty level
Moderate
Process Duration
Less than 2 weeks
Result
Not Selected

I appeared for an interview in Apr 2025, where I was asked the following questions.

  • Q1. It was a DFS based graph question [Leetcode easy]
  • Q2. Could you describe the process for designing a data structure that allows for all create and delete operations in O(1) time while also implementing a function that generates a random number?
  • Ans. 

    Design a data structure for O(1) create/delete and random number generation using a hash map and an array.

    • Use a hash map to store elements with their indices for O(1) access.

    • Maintain an array to store the actual elements for O(1) random access.

    • On insertion, add the element to the array and update the hash map.

    • On deletion, swap the element with the last element in the array, remove it, and update the hash map.

    • To get a r...

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

I appeared for an interview in May 2025, where I was asked the following questions.

  • Q1. Java Sql Inheritance
  • Q2. Java Polymorphism

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 Computer Science, Team Management, Architectural Design, Application Software and Data Mining.
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.

Overall Interview Experience Rating

4.3/5

based on 131 interview experiences

Difficulty level

Easy 14%
Moderate 66%
Hard 20%

Duration

Less than 2 weeks 63%
2-4 weeks 21%
4-6 weeks 10%
6-8 weeks 3%
More than 8 weeks 3%
View more
Amazon Software Developer Salary
based on 2.3k salaries
₹22.9 L/yr - ₹42.8 L/yr
207% more than the average Software Developer Salary in India
View more details

Amazon Software Developer Reviews and Ratings

based on 272 reviews

4.0/5

Rating in categories

3.9

Skill development

3.6

Work-life balance

4.2

Salary

3.5

Job security

3.7

Company culture

3.7

Promotions

3.6

Work satisfaction

Explore 272 Reviews and Ratings
Software Dev Manager, Design Technologies

Bangalore / Bengaluru

5-10 Yrs

Not Disclosed

Software Dev Manager, HST Health Foundation

Bangalore / Bengaluru

3-8 Yrs

Not Disclosed

Explore more jobs
Customer Service Associate
4.2k salaries
unlock blur

₹1.8 L/yr - ₹5 L/yr

Transaction Risk Investigator
3.1k salaries
unlock blur

₹2.4 L/yr - ₹6.5 L/yr

Associate
3.1k salaries
unlock blur

₹2 L/yr - ₹5.5 L/yr

Senior Associate
2.6k salaries
unlock blur

₹4 L/yr - ₹9 L/yr

Software Developer
2.3k salaries
unlock blur

₹22.9 L/yr - ₹42.8 L/yr

Explore more salaries
Compare Amazon with

Flipkart

3.9
Compare

TCS

3.6
Compare

Google

4.4
Compare

Netflix

4.0
Compare
write
Share an Interview