i
Amazon
Proud winner of ABECA 2024 - AmbitionBox Employee Choice Awards
Filter interviews by
I applied via LinkedIn and was interviewed before Nov 2021. There were 3 interview rounds.
Checked the aptitude and gave coding knowledge test for clearing and moving to next round
I was interviewed in Feb 2021.
Round duration - 60 minutes
Round difficulty - Hard
This round was conducted on Amazon Chime platform. I was shared the invitation link one day prior to the interview and also was told the name of my interviewer. I looked at the profile of the interviewer at linked.in and got a better understanding of what kind of person he was and prepared accordingly. The round was scheduled at 3 :00 pm on 10th Feb and I was eagerly waiting for the clock hands to reach 3 o'clock since morning and finally I went in front of him after wearing a white shirt and a black coat over it along with a tie over it.
Given an array ARR
of size N
, containing each number between 1 and N-1
at least once, identify the single integer that appears twice.
The first line contains an integer...
Ninja has a binary string S
of size N
given by his friend. The task is to determine if it's possible to sort the binary string S
in decreasing order by removing a...
Tip 1 : Practice on codeforces regularly
Tip 2 : Do at least 200 questions from leetcode
Tip 1 : Have some good projects Web Dev projects are preferred
Tip 2 : Resume should be of less than or equal to 2 page
I was interviewed in Feb 2021.
Round duration - 45 Minutes
Round difficulty - Medium
Interviewer was good He asked me 2 coding questions while solving he gave some hints as well then we discussed about my projects.
Given an array/list of strings STR_LIST
, group the anagrams together and return each group as a list of strings. Each group must contain strings that are anagrams of each other.
The idea behind this approach is that two or more than two strings are anagrams if and only if their sorted strings are equal. So we will use a HashMap, let’s say “anagramGroup”, where each key is a sorted string, and the key will be mapping to the list of indices from the given list of strings that form a group of anagrams. This means that if we sort the strings at those indices, we will get the ...
Given a binary tree, determine and return its bottom view when viewed from left to right. Assume that each child of a node is positioned at a 45-degree angle from its parent.
N...
The idea is to take two arrays and to store horizontal distance in one and priority of each node in another. The arrays are of size ‘2*N+1’(considering the worst case). On traversing the tree, if the current calculated horizontal distance is not present in the array, add it. Otherwise, compare the priority(stored in the second array) of the previously-stored value with the current one. If the priorit...
Round duration - 50 Minutes
Round difficulty - Hard
In this interview she asked me one coding question and system design questions.
Given two balanced binary search trees (BSTs) of integers, with 'N' and 'M' nodes respectively, your task is to merge these two BSTs into a single balanced BST and return the root n...
In this approach we will construct the merged BST, by merging the inorder of traversal of both the BST. By merging the inorder traversal of both BST we will get the inorder traversal of required BST. Then we will form the BST with that inorder traversal.
The steps are as follows:
Tip 1 : While solving the questions never see the answer at least try for an hour then see the logic (I mean Algorithm) then try on your own still it's not solved then see the solution code.
Tip 2 : According to me it's not important how many programmes did you solved important is how deeply understood the every programme while solving.
Tip 1 : Read the Job description highlight the words which related to it for an example skills , experience and projects.
Tip 2 : Have some good projects (or) Internship it will definitely increase the chances of getting an interview.
What people are saying about Amazon
I was interviewed in Dec 2020.
Round duration - 150 minutes
Round difficulty - Medium
Amazon Visited our campus, and they had put a cutoff of 7 CGPA based on which they shortlisted students. After 2 days all the shortlisted students received an online test link.
Online Assessment Test: The round had four sections.
Debugging: There was a total of 7 questions in which a piece of code was written and you had to find any error so that all the test cases can pass. All the questions were very easy.
Coding Section: There were two questions, one was based on a linked list and the other was a logical question based on hashing, I would say both the questions were of medium level. The time allotted was 70 mins total.
Behavioral Analysis: This section consisted of questions that focused on your personality and behavior.
Reasoning Ability: This section was based on aptitude and verbal ability. The difficulty level was easy.
You are given two singly linked lists, where each list represents a positive number without any leading zeros.
Your task is to add these two numbers and return the sum as ...
Given an array of integers ARR
of length N
and an integer Target
, your task is to return all pairs of elements such that they add up to the Target
.
The first line ...
Round duration - 90 minutes
Round difficulty - Medium
The round began and first, the interviewer introduced himself and later asked me to introduce myself which I did. After that, he walked me through how the interview is going to proceed from there. He then gave me two coding questions, firstly you have to tell them your approach, and if they are satisfied enough or if your approach is the optimum approach then they will ask you to write that code in their code space which is not an editor btw.
After half an hour I got a call from HR that my interview is scheduled an hour later.
Your task is to compute the square root of a given integer N
, such that the result is as accurate as D
decimal places. The aim is to ensure that the absolute dif...
Given a binary tree with N
nodes, your task is to output the Spiral Order traversal of the binary tree.
The input consists of a single line containing elem...
Round duration - 90 minutes
Round difficulty - Easy
The round began with the interviewer’s introduction and then I introduced myself He gave me two questions based on data structures.
The interviewer was happy with all the answers. Then, since enough time was left, He asked me some HR questions, like what are strengths and weaknesses, etc.
After all this, he told me in the interview itself “See you soon and enjoy your day “, after which I was quite sure that I’m going to go to the next round. But this was the last one.
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...
Given a binary tree, determine and return its bottom view when viewed from left to right. Assume that each child of a node is positioned at a 45-degree angle from its parent.
N...
Tip 1 : Practice coding questions and participate in online contests.
Tip 2 : Communication skills are good to have for interviews.
Tip 1 : Do some good projects for your resume.
Tip 2 : Keep it concise and short.
Tip 3 : Don't lie on your resume.
Amazon interview questions for designations
I was interviewed in Dec 2020.
Round duration - 75 minutes
Round difficulty - Medium
You are provided with two sorted linked lists. Your task is to merge them into a single sorted linked list and return the head of the combined linked list.
...Given a Binary Search Tree (BST) and two integers, NODE1 and NODE2, determine the maximum element found along the path from NODE1 to NODE2.
The binary sear...
Round duration - 70 minutes
Round difficulty - Medium
Tip 1 : Be very much clear with your basics and skills.
Tip 2 : Have a sound knowledge and think twice before answering any question
Tip 3 : Have good understanding and confidence over Data Structures and get good understanding of its concepts. At least practice 5-6 coding questions on a daily basis on any good coding platform. I had completed around 170+ questions on Leetcode and 200+ questions on Geek For Geeks. Practice regularly rather than completing all coding questions in one day. The main aim should be practice with good strategy.
Tip 1 : The resume should not be more than 1 page. Be brief and write only those skills, projects or achievements which you have completed yourselves and have thorough knowledge.
Tip 2 : There can be any type of question from the topics/skills/achievements, which you have mentioned in the resume.
Get interview-ready with Top Amazon Interview Questions
I was interviewed in Dec 2020.
Round duration - 120 Minutes
Round difficulty - Medium
It was a coding round of 2 hours.
You need to allow access for camera and microphone
A thief is planning to steal from several houses along a street. Each house has a certain amount of money stashed. However, the thief cannot loot two adjacent houses. Determi...
Determine the maximum amount of money a thief can steal from houses without looting two consecutive houses.
Use dynamic programming to keep track of the maximum amount of money that can be stolen up to each house.
At each house, the thief can either choose to steal from the current house and the house two steps back, or skip the current house and steal from the previous house.
Return the maximum amount of money that can b
Given a string S
which represents a number, determine the smallest number strictly greater than the original number composed of the same digits. Each digit's frequenc...
Given a number represented as a string, find the smallest number greater than the original with the same set of digits.
Iterate from right to left to find the first digit that can be swapped with a larger digit to make the number greater.
Swap this digit with the smallest digit to its right that is larger than it.
Sort the digits to the right of the swapped digit in ascending order to get the smallest number greater than ...
Round duration - 30 Minutes
Round difficulty - Medium
The round was an technical face to face round.
They asked me problems related to DBMS, OS
Round duration - 20 Minutes
Round difficulty - Medium
It was face to face another technical round
Tip 1 : Practice atleast 5-6 questions per day of DSA
Tip 2 : Do atleast 2-3 projects
Tip 1 : Put only those things on resume in which you have confidence
Tip 2 : Put only those projects which done by yourself.
I was interviewed in Dec 2020.
Round duration - 70 minutes
Round difficulty - Medium
Given an array of integers ARR
of length N
and an integer Target
, your task is to return all pairs of elements such that they add up to the Target
.
The first line ...
Given a binary matrix of size N * M
where each element is either 0 or 1, find the shortest path from a source cell to a destination cell, consisting only...
Round duration - 75 minutes
Round difficulty - Medium
First explained the approach to the interviewer. He was satisfied with the discussions and asked me to write code.
Determine whether a given binary tree is 'special'. A binary tree is defined as 'special' if every node either has zero or two children.
3
5 1
6 2 0 8
-1 -...
Tip 1 : Understand the concepts Data Structures and get good understanding of its concepts. Practice coding questions and participate in online contests very frequently.
Tip 2 : Work strategically more on to analyze time being used to attempt the questions and space complexity. Always emphasis on the strategies to further optimize the solution.
Tip 3 : Effective communication skills are key for interview.
Tip 1 : Practice on good projects and mention them in your resume.
Tip 2 : Keep your resume to the point and do not mention any such skill, project or achievement in which you do not have any experience.
Tip 3 : Mention achievements which displays your technical skills, communication skills and teamwork. If you can showcase leadership quality, it will be added advantage. Go through your resume completely.
I was interviewed in Dec 2020.
Round duration - 75 minutes
Round difficulty - Medium
Given a singly linked list of integers, determine if the linked list is a palindrome.
A linked list is considered a palindrome if it reads the same forwar...
The idea is to store the list values in a stack and then compare the values in the list with the values in the stack.
Algorithm:
Given an 'M x N' matrix, print all the possible paths from the top-left corner to the bottom-right corner. You can only move either right (from (i,j) to (i,j+1)) or dow...
The basic idea to solve this problem is to use recursion. Recursively call function for next row ( row+1,col ) and next column ( row, col+1 ). If the row is equal to M-1 or the column is equal to N-1, then recursion is stopped.
Algorithm:
Round duration - 70 Minutes
Round difficulty - Medium
The discussions were around binary search and started with an easy question. The closest integer to the square root of that number's to be find. Here you had to only change your code a bit her and there as per the question and requirement, but the logic is a bit tricky to find.The interviewer was quite impressed to see the approach and solution. I also had explained to them why was this the most optimal approach and time & space complexity
Tip 1 : Understand Data Structures in details to have more confidence and get in-depth of its concepts. Practice minimum 5-6 coding questions on a daily basis on any coding platform. I had practiced around 140+ questions on Leetcode and 200+ questions on Geek For Geeks. Regularly practice the question rather than completing all the coding questions in one go. Ensure to include the concepts learnt in the questions
Tip 2 : Always analyze its time and space complexity while attempting the questions. Work towards optimize your solution, use the relevant strategies. In some cased the interviewer asks only one question and step by step keep on increasing difficulty by asking for its more optimization and will keep on discussing what kind of strategies are being implemented by you.
Tip 3 : Attempt the coding questions, but also keep on learning concepts in details of Operating Systems, databases and object oriented programming. Refer to Geeks For Geeks articles for it. Also go through, Coding Ninja's Data Structures and algorithms course in C++ helped me a lot in improving my OOPS concepts specifically.
Tip 1 : Ensure to mention only those projects, skills and achievements which you have completed yourselves and have thorough knowledge. Because the questions will be around the skills you ave mentioned and in case if you are not able to answer these basic questions it leaves negative impression on interviewer.
Tip 2 : Do not add too many projects in your resume. Only one or two good projects with proper knowledge is also fine. Do the same for skills and do not add so many skills, only add those one in which you ave good understanding and can discuss and answer.
Tip 3 : Mention those achievements which showcase your all skills like technical skills, communication skills, leadership quality or teamwork.
I was interviewed in Feb 2021.
Round duration - 90 Miinutes
Round difficulty - Medium
This round consists of programming mcqs which many covers datastructure, sql and some pseudocodes and 2 programming questions which are medium level
You are provided with the Inorder and Level Order traversals of a Binary Tree composed of integers. Your goal is to determine the height of this Binary Tree without actually construc...
Tip 1 : Prepare all the topics which ever you mentioned in the resume.
Tip 2 : Prepare more on datastructure algorithms, even if you are not aware of syntax of the program try to write the logic.
Tip 3 : Prepare on your final year project thoroughly.
Tip 1 : Mention only those topics which ever you are perfect.
Tip 2 : Mention about projects and internship so the interviewer will have some positive impact on you.
I was interviewed in Nov 2020.
Round duration - 90 Minutes
Round difficulty - Easy
Round 1 was an online coding round consisting of 2 coding questions and 28 MCQs based on C, C++, Java, data structures, algorithms, and core subjects. I solved both the coding questions completely. After getting shortlisted, a total of 4 interviews were to take place, each being eliminative in nature. The time for each was fixed to 60 minutes each and each of them involved writing the complete code on an IDE link shared by the interviewer. For each question, time complexity has to be told.
Convert a given infix expression, represented as a string EXP
, into its equivalent postfix expression.
An infix expression is formatted as a op b
where the opera...
Convert infix expression to postfix expression.
Use a stack to keep track of operators and operands.
Follow the precedence rules for operators (*, / have higher precedence than +, -).
Handle parentheses to ensure correct order of operations.
Iterate through the infix expression and build the postfix expression.
Given an integer array ARR
of size N
, you need to compute the following three statistical measures:
mean()
to calculate the mean o...Implement functions to calculate mean, median, and mode of an integer array.
Calculate mean by summing all elements and dividing by total count
Calculate median by sorting array and finding middle element(s)
Calculate mode by finding element with highest frequency
Round duration - 90 minutes
Round difficulty - Easy
The interviewer started directly by giving coding questions. He gave me two coding questions. I solved using the basic approach first then he asked me to improve my time and space complexity. Then I improved my algorithm.
I was able to solve both the questions in around 55 minutes. The interviewer seemed satisfied. I got a mail for the second interview after 2 days and the interview was scheduled after 2 days.
You are provided with a Doubly Linked List consisting of integers and a positive integer 'K', which represents the size of the group. Your task is to modify th...
Reverse groups of K nodes in a doubly linked list
Iterate through the linked list in groups of K nodes
Reverse each group of K nodes
Update the pointers accordingly
Handle cases where the number of remaining nodes is less than K
Ninja is creating a new game ‘String Ka Khel’ for his gaming shop. In this game, players are given ‘N’ strings. The objective is to find the maximum length of strings that...
Compute the maximum length of a string that can be formed by joining given strings based on a condition.
Iterate through each string and store the count of strings ending with 'R' and 'B'.
Check if there are any strings ending with 'R' and 'B' that can be combined to form a longer string.
Return the maximum length of the string that can be formed or 0 if no combination is possible.
Round duration - 90 Minutes
Round difficulty - Easy
The interview started with the interviewer’s introduction and then my introduction and then one coding question. Then he asked me to improve this. So I improved my time complexity. The interviewer was very friendly and helpful. Then we had some discussion on OOPs.
You are provided with an array containing N integers along with an integer K. Your task is to compute the total sum of the minimum and maximu...
Calculate the sum of minimum and maximum elements of all subarrays of size K in an array.
Iterate through the array and maintain a deque to store the indices of elements in the current window of size K.
Keep track of the minimum and maximum elements in the current window using the deque.
Calculate the sum of minimum and maximum elements for each subarray of size K and return the total sum.
Round duration - 60 Minutes
Round difficulty - Hard
This was a technical round. The interviewer gave me two coding problems to solve.
And questions on os(Explain Banker’s algorithm with an example, Thrashing, Deadlock, Semaphore, etc), DBMS(ACID properties), oops, and projects.
Aakash belongs to a unique family structure where every male member (M) has a male child first followed by a female child, and every female member (F) has a female child...
Determine the gender of the Kth child in the Nth generation based on a unique family structure.
Every male member has a male child first followed by a female child, and every female member has a female child first followed by a male child.
Given generation number N and position of the child K, determine the gender of the Kth child in the Nth generation.
Output 'Male' if the child is male, otherwise 'Female'.
Start the fami
You are provided with an array or list ARR
containing N
positive integers. Your task is to determine the Next Greater Element (NGE) for each element in the array.
T...
Find the Next Greater Element for each element in an array.
Iterate through the array from right to left and use a stack to keep track of elements.
Pop elements from the stack until a greater element is found or the stack is empty.
Store the next greater element for each element in a result array.
Tip 1 : Practice as much as you can. Solve a different variety of questions.
Tip 2 : Mention some good projects on your resume.
Tip 3 : Work on your communication skills.
Tip 1 : Mention some good projects on your resume.
Tip 2 : Do not put false things on a resume.
Some of the top questions asked at the Amazon Software Developer interview -
The duration of Amazon Software Developer interview process can vary, but typically it takes about less than 2 weeks to complete.
based on 117 interviews
5 Interview rounds
based on 262 reviews
Rating in categories
Customer Service Associate
4.2k
salaries
| ₹0.6 L/yr - ₹6.8 L/yr |
Transaction Risk Investigator
3.1k
salaries
| ₹2 L/yr - ₹6.5 L/yr |
Associate
2.5k
salaries
| ₹0.8 L/yr - ₹6.5 L/yr |
Senior Associate
2.5k
salaries
| ₹2 L/yr - ₹10.1 L/yr |
Program Manager
2.1k
salaries
| ₹9 L/yr - ₹36 L/yr |
Flipkart
TCS
Netflix