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

Updated 27 Feb 2025

Top Amazon Software Engineer Interview Questions and Answers

  • Q1. Reverse a Singly Linked List Given a singly linked list of integers, your task is to return the head of the reversed linked list. Explanation: Reverse a given singly lin ...read more
  • Q2. Sum Between Zeroes Problem Statement Given a singly linked list containing a series of integers separated by the integer '0', modify the list by merging nodes between tw ...read more
  • Q3. Reverse Linked List Problem Statement Given a singly linked list of integers, your task is to return the head of the reversed linked list. Example: Input: The given link ...read more
View all 62 questions

Amazon Software Engineer Interview Experiences

77 interviews found

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

Interview Questionnaire 

20 Questions

  • Q1. Explain the difference between ArrayList and LinkedList in Java. When would you choose one over the other?
  • Q2. What are the advantages and disadvantages of using Java’s synchronized keyword for thread synchronization? Can you explain how the ReentrantLock compares to synchronized?
  • Q3. What is the difference between == and .equals() in Java? When should each be used, and what issues can arise from improper usage?
  • Q4. How does the Java garbage collector work? Can you describe the different types of garbage collection algorithms available in Java?
  • Q5. What are the main features of Java 8? Can you explain how lambdas and the Stream API have changed the way Java applications are written?
  • Q6. Describe the differences between checked and unchecked exceptions in Java. Provide examples and explain how to handle them properly.
  • Q7. What is the Java Memory Model, and how does it affect multithreading and synchronization? How does volatile help ensure memory visibility?
  • Q8. Can you explain the difference between method overloading and method overriding in Java? Provide examples where each should be used.
  • Q9. What are functional interfaces in Java? How do they work with lambda expressions? Provide an example of a custom functional interface.
  • Q10. What is a Java Stream, and how does it differ from an Iterator? Explain how Streams can be used to process collections efficiently.
  • Q11. Explain the concept of immutability in Java. How does the String class achieve immutability, and what are the advantages of immutable objects?
  • Q12. What is the difference between final, finally, and finalize in Java? Provide examples to illustrate their usage.
  • Q13. Explain the Singleton design pattern in Java. How can you implement it safely to ensure thread safety?
  • Q14. What are Java annotations, and how are they used in frameworks like Spring? Explain the difference between built-in and custom annotations.
  • Q15. How do Java Streams handle parallel processing? What are the potential pitfalls of using parallel streams, and how can they be mitigated?
  • Q16. Explain the difference between ArrayList and LinkedList in Java. ArrayList is implemented as a dynamic array, while LinkedList is a doubly linked list. ArrayList provides fast random access (O(1) complexi...
  • Q17. What are the advantages and disadvantages of using Java’s synchronized keyword for thread synchronization? The synchronized keyword ensures that only one thread can access a block of code at a time. It pr...
  • Q18. What is the difference between == and .equals() in Java? == checks for reference equality, meaning it compares memory addresses. equals() checks for value equality, which can be overridden in user-defined...
  • Q19. How does the Java garbage collector work? Garbage collection in Java automatically reclaims memory occupied by unused objects. The JVM has different types of GC algorithms, including Serial, Parallel, CMS...
  • Q20. What are the main features of Java 8? Java 8 introduced lambda expressions, enabling functional-style programming. The Stream API allows efficient data processing with map, filter, and reduce operations. ...
Interview experience
5
Excellent
Difficulty level
-
Process Duration
-
Result
-

I was interviewed in Jan 2025.

Round 1 - Interview Questions 

(8 Questions)

  • Q1. Explain the difference between ArrayList and LinkedList in Java. When would you choose one over the other?
  • Q2. What are the advantages and disadvantages of using Java’s synchronized keyword for thread synchronization? Can you explain how the ReentrantLock compares to synchronized?
  • Q3. What is the difference between == and .equals() in Java? When should each be used, and what issues can arise from improper usage?
  • Q4. How does the Java garbage collector work? Can you describe the different types of garbage collection algorithms available in Java?
  • Q5. What are the main features of Java 8? Can you explain how lambdas and the Stream API have changed the way Java applications are written?
  • Q6. Describe the differences between checked and unchecked exceptions in Java. Provide examples and explain how to handle them properly.
  • Q7. What is the Java Memory Model, and how does it affect multithreading and synchronization? How does volatile help ensure memory visibility?
  • Q8. Can you explain the difference between method overloading and method overriding in Java? Provide examples where each should be used.

Software Engineer Interview Questions Asked at Other Companies

asked in Qualcomm
Q1. Bridge and torch problem : Four people come to a river in the nig ... read more
asked in Capgemini
Q2. In a dark room,there is a box of 18 white and 5 black gloves. You ... read more
asked in TCS
Q3. Find the Duplicate Number Problem Statement Given an integer arra ... read more
Q4. Tell me something about yourself. Define encapsulation. What is i ... read more
asked in Paytm
Q5. Puzzle : 100 people are standing in a circle .each one is allowed ... read more

Interview Questionnaire 

2 Questions

  • Q1. Data struct,algo,
  • Q2. High level data structs and algos

Interview Preparation Tips

Round: Problem Statement
Experience: coding and submission before face to face interview shortlisting
Tips: practice coding ,coding is key to success for SE

Round: Resume Shortlist
Experience: based on marks ,I was called for F2F
Tips: the ppt was to be submitted explaining the approach

Round: Technical Interview
Experience: a lot of brain storming
Tips: understands the nitty gritty of the structs and algos

Round: Technical Interview
Experience: exact code was to be written instead of pseudo code
Tips: get hold of DS,Algos

Interview Preparation Tips

Round: Test
Experience: The first test
contained 25 objective questions encompassing the basics of Computer Science ranging from
data structures, networks and operating systems to theory of computation
Duration: 45 minutes
Total Questions: 25

Round: Test
Experience: The second test contained 3 coding questions.
Duration: 45 minutes
Total Questions: 3

Round: HR Interview
Experience: After the written test, next day I appeared for 3 interviews.
They were checking if you can write code and also if you are aware of the practical issues faced while coding. In the final round they were testing if you could abstract out a real world
problem into code.
Tips: Overall I can say that you must hope for the best and prepare for the
worst. So make sure that you are prepared on all counts. You never know what might go wrong.

Amazon interview questions for designations

 Software Development Engineer

 (34)

 Software Engineer Intern

 (13)

 Senior Software Engineer

 (8)

 Embedded Software Engineer

 (4)

 Software Testing Engineer

 (2)

 Software Engineer II

 (2)

 Junior Software Engineer

 (2)

 Software Support Engineer

 (1)

Software Engineer Interview Questions & Answers

user image Rajesh Paramanandam

posted on 24 Feb 2017

I was interviewed in Oct 2016.

Interview Preparation Tips

Round: Test
Experience: Aptitude was quite easy they just asked us basic questions from Math,logical reasoning and english
Tips: Just think well before u do..
Duration: 1 hour 30 minutes
Total Questions: 40

Round: Behavioural Interview
Experience: It was face to face .. the interviewee asked questions from our resume... Since I m from computer science background they asked some technical questions..

Tips: Beware filling ur resume.. they will ask every stuff that you have in resume

Round: Technical Interview
Experience: Discussion about my project that i vr done in my final year.they asked me what was my role in my project

College Name: Sri ganesh college of engineering and technology

Get interview-ready with Top Amazon Interview Questions

I applied via campus placement at Indian Institute of Technology (IIT), Roorkee

Interview Questionnaire 

4 Questions

  • Q1. Boundary traversal of a tree
  • Ans. 

    Boundary traversal of a tree is the process of visiting the nodes on the boundary of a tree in a specific order.

    • The boundary traversal can be done in three steps: left boundary, leaf nodes, and right boundary.

    • For the left boundary, start from the root and traverse down the left side of the tree until reaching a leaf node.

    • For the leaf nodes, perform an inorder traversal to visit all the leaf nodes of the tree.

    • For the ri...

  • Answered by AI
  • Q2. Find the nearest greater value of a given value in a BST
  • Ans. 

    Find the nearest greater value of a given value in a Binary Search Tree (BST).

    • Start from the root node and compare the given value with the current node's value.

    • If the given value is less than the current node's value, move to the left subtree.

    • If the given value is greater than the current node's value, move to the right subtree.

    • Keep track of the closest greater value encountered while traversing the tree.

    • Return the cl

  • Answered by AI
  • Q3. There is an infinite stair case and there are n rounds. in i'th round we can jump i steps at one or discard them. it is given that k'th step is broken , find the max height we can reach with out stepping o...
  • Ans. 

    Given an infinite staircase with a broken kth step, find the maximum height we can reach in n rounds of jumping i steps.

    • We can start by jumping the maximum number of steps in each round until we reach the broken step.

    • After reaching the broken step, we can discard the i steps that would land us on the broken step and jump the remaining steps.

    • We can continue this pattern until we reach the maximum height we can reach wit

  • Answered by AI
  • Q4. Height h was given and form a binary tree of height h and start combining bottom nodes to form a cone like structure

Interview Preparation Tips

Round: Test
Experience: there were 20 MCQ which were on ds , networks and basic coding followed by 2 coding questions.
1) print all the distinct substrings of a given string in lexicographical order
2) find the max i-j value in the given array of 0's and 1's such that there are equal number of zeros and ones, where i is the starting index and j is the ending index of the array.
Tips: make sure that you pass atleast half the test cases for both the question.
Duration: 90 minutes
Total Questions: 22

Round: Technical Interview
Experience: 1) i printed left view then leaves and right view using three level order traversals . he asked me to use one traversal only, then i told him the approach and wrote the working code.
2) told him the approach and coded it.
Tips: look at corner cases properly. the interviewers were friendly, so i felt relaxed.

Round: Technical Interview
Experience: 1) i told him a recursive O(2^n) solution, optimised it to O(n^2). he told me to optimise further. Then i finally came up with O(n) solution after 5 min and he was satisfied . i coded it. he was satisfied finally :D .
2) came up with the approach immediately and coded it. he was satisfied.
Tips: he was very particular about corner cases and he checked the code througly tested it on some cases to ensure it was working.

General Tips: be cool. interviewers were friendly. tell them what you are thinking and be clear with the question before answering to avoid wasteage of time.
Skill Tips: solve problems from codechef, spoj and codeforces. solve interview questions from geeksforgeeks and careercup.
Skills: the way you think, coding skills and knowledge on data structures.
Duration: 3
College Name: IIT Roorkee
Motivation: some good seniors got intern, so i was inspired.
Funny Moments: on the interview day a person came into the conference room to call me for interview, i didnt thought he was interviewer. he was very simple, but intelligent and at last i felt like asking him to ask me one more coding question as it was fun solving questions infront of him, but i didnt do that as i was frightened if i would not be able to answer it would be a negative remark :P .

Skills evaluated in this interview

Software Engineer Jobs at Amazon

View all

Interview Questionnaire 

13 Questions

  • Q1. Given a string of parenthesis, write a function if it is balanced
  • Ans. 

    Function to check if a string of parenthesis is balanced

    • Use a stack to keep track of opening parenthesis

    • If a closing parenthesis is encountered, pop from stack and check if it matches

    • If stack is empty and a closing parenthesis is encountered, return False

    • If all parenthesis are matched and stack is empty, return True

  • Answered by AI
  • Q2. Given two linked lists each of which represent a number, write a function that returns a linked list that represents the sum
  • Q3. Find the number of occurrences of words in a paragraph
  • Ans. 

    Count the occurrences of words in a paragraph.

    • Split the paragraph into words using whitespace as a delimiter.

    • Create a dictionary to store the count of each word.

    • Iterate through the words and increment the count in the dictionary.

    • Return the dictionary with the word counts.

  • Answered by AI
  • Q4. Find common elements out of two sorted array?
  • Ans. 

    Find common elements out of two sorted array

    • Use two pointers to traverse both arrays simultaneously

    • Compare elements at each pointer and move the pointer of the smaller element

    • If elements are equal, add to common elements list and move both pointers

    • Stop when either pointer reaches end of array

  • Answered by AI
  • Q5. Convert BST to a Doubly linked list?
  • Ans. 

    Convert a Binary Search Tree to a Doubly Linked List.

    • Create a DLL node class with left, right, and data fields.

    • Traverse the BST in-order and add each node to the DLL.

    • Adjust the left and right pointers of each node to create the DLL.

    • Return the head of the DLL.

  • Answered by AI
  • Q6. Given a binary tree in which the node structure has an additional field called “next” which of pointer to tree node type, fill up this field of each node to point to the next node at the same level (NULL i...
  • Ans. 

    The task is to fill the 'next' field of each node in a binary tree to point to the next node at the same level.

    • Use a level order traversal to process the tree nodes.

    • Maintain a queue to store the nodes at each level.

    • For each node, set its 'next' field to the next node in the queue.

    • If a node is the last node at its level, set its 'next' field to NULL.

  • Answered by AI
  • Q7. Given a parentheses string, determine if it is a valid / legitimate parentheses string. For strings consisting of single parentheses type and those consisting of multiple types
  • Q8. You have a dictionary of words. Given a word, print all anagram are in dictionary . State the data structure to be used to solve this problem
  • Ans. 

    To find anagrams of a given word in a dictionary, use a hash table to store sorted versions of each word as keys and their corresponding original words as values.

    • Create a hash table to store the anagrams

    • Iterate through each word in the dictionary

    • Sort the characters of the word and use it as a key in the hash table

    • If the key already exists, add the word to the list of values for that key

    • Print the list of values for the

  • Answered by AI
  • Q9. You have given 10 files and you have given a string suggest data structure which ll facilitate efficient search of string in the file if string appears more than ones in that case u have to print line numb...
  • Ans. 

    Suggest a data structure for efficient search of a string in 10 files and print line number and file if string appears more than once.

    • Use a hash table to store the file name and line number of each occurrence of the string.

    • Iterate through each file and for each line, check if the string is present and update the hash table accordingly.

    • Print the hash table entries for the string.

  • Answered by AI
  • Q10. Write a program to print a tree in vertical order asked more than one approach to do this problem and modified problem many times
  • Q11. Discussion on my current work, difficulties and challenges faced at work, difficult people I have had to work with, instances when I went out of my way to propose creative solutions to existing problems a...
  • Q12. Why do you think amazon is the right place for you?
  • Ans. 

    Amazon is the right place for me because of its innovative culture, vast resources, and opportunities for growth.

    • Amazon's innovative culture aligns with my passion for pushing boundaries and finding creative solutions.

    • The company's vast resources provide the necessary tools and support to develop and deliver high-quality software.

    • Amazon offers numerous opportunities for growth and career advancement, allowing me to con...

  • Answered by AI
  • Q13. You have given an binary matrix which is sorted row wise and column wise write a program to search a row in the matrix having maximum number of zeroes

Interview Preparation Tips

General Tips: My process started off at one their hiring drives. It was ahiring drivein world trade center in Bangalore. It was a tiresome process that comprised a written round followed by 4rounds of interview.
Skills: Algorithm, data structure
College Name: NA

Skills evaluated in this interview

Amazon Interview FAQs

How many rounds are there in Amazon Software Engineer 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 Software Engineer 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 Architectural Design, Clinical SAS Programming, Medical Coding, System Architecture and Computer Science.
What are the top questions asked in Amazon Software Engineer interview?

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

  1. You have given 10 files and you have given a string suggest data structure whic...read more
  2. Given a binary tree in which the node structure has an additional field called ...read more
  3. Explain the difference between ArrayList and LinkedList in Java. ArrayList is i...read more
How long is the Amazon Software Engineer interview process?

The duration of Amazon Software Engineer interview process can vary, but typically it takes about 2-4 weeks to complete.

Tell us how to improve this page.

Amazon Software Engineer Interview Process

based on 57 interviews

4 Interview rounds

  • Resume Shortlist Round
  • Coding Test Round
  • Technical Round
  • HR Round
View more
Amazon Software Engineer Salary
based on 1.6k salaries
₹12 L/yr - ₹45 L/yr
241% more than the average Software Engineer Salary in India
View more details

Amazon Software Engineer Reviews and Ratings

based on 151 reviews

3.7/5

Rating in categories

3.9

Skill development

3.4

Work-life balance

4.0

Salary

3.3

Job security

3.4

Company culture

3.6

Promotions

3.6

Work satisfaction

Explore 151 Reviews and Ratings
Software Engineer, Alexa Daily Essentials

Chennai

0-6 Yrs

Not Disclosed

Sr. Software Engineer, Amazon

Bangalore / Bengaluru

3-10 Yrs

Not Disclosed

Sr. Software Engineer, Ring

Bangalore / Bengaluru

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