i
Amazon
Proud winner of ABECA 2024 - AmbitionBox Employee Choice Awards
Filter interviews by
I was interviewed in Dec 2020.
Round duration - 60 minutes
Round difficulty - Medium
The interviewer was very friendly and introduced herself. She told me that she had two coding problems for this round.
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...
You are provided with a 2D matrix containing only the integers 0 or 1. The matrix has dimensions N x M, and each row is sorted in non-decreasing order. Your...
Round duration - 70 minutes
Round difficulty - Medium
This round was held 30 minutes after the 2nd round. There were two interviewers and both introduced themselves. Both of them were friendly and made me comfortable for the round.
You have an array of N positive integers. Your goal is to sort this array in descending order based on the number of set bits in the binary representation of each integer.
In ...
You are given a grid containing oranges where each cell of the grid can contain one of the three integer values:
Tip 1 : Learn all basic DSA with their time and space complexities first. Then move on to company-specific problems.
Tip 2 : Have some experience in competitive programming, as it helps you to arrive at solutions quickly.
Tip 3 : Have decent projects and mention them on your resume... Prepare for every possible question that can be asked from them.
Tip 1 : Be honest on your resume. Don't mention things which you are not comfortable with.
Tip 2 : Have at least two decent projects on your resume... Mentioning tech used in them is a plus.
I was interviewed in Dec 2020.
Round duration - 80 minutes
Round difficulty - Medium
This round was scheduled in the evening hours and all the participants were required to fill a form which was shared 2 days prior to the test date. This form was filled out probably for the security reasons and to ensure that no one disinterested participant gives the test.
Given an array of integers 'ARR' and an integer 'K', determine the first negative integer in every contiguous subarray (or window) of size 'K'. If a window...
Given a binary tree with integer values assigned to each node, select nodes such that their sum is maximum, ensuring no two adjacent nodes are picked.
Round duration - 60 minutes
Round difficulty - Medium
Interview stared at 11:00 am and went for 90 min.
Interview was held in zoom
Environment was very much user friendly
You are given a binary tree with 'N' integer nodes. Your task is to determine whether this binary tree is a Binary Search Tree (BST).
A Binary Search Tr...
Tip 1 : Practice all DSA questions from interview bit
Tip 2 : Do Atleast 3 project one should be major, if it's in web dev it would be beneficial.
Tip 3 : Should be good in communication skills
Tip 1 : have good projects
Tip 2 : try to keep everything descriptive but short at the same time
Tip 3 : also add your competitive profiles in the resume
I was interviewed in Dec 2020.
Round duration - 60 Minutes
Round difficulty - Easy
3 coding questions and the duration of the test was 90 mins
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.
...You need to determine all possible paths for a rat starting at position (0, 0) in a square maze to reach its destination at (N-1, N-1). The maze is represented as an N*N ma...
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 - 60 Minutes
Round difficulty - Easy
Given an array of integers with 'N' elements, determine the length of the longest subsequence where each element is greater than the previous element. This...
Given a binary tree of integers, your task is to return the boundary nodes of the tree in Anti-Clockwise direction starting from the root node.
The first line ...
You are given a N x M
matrix of integers. Your task is to return the spiral path of the matrix elements.
The first line contains an integer 'T' which denotes the nu...
Round duration - 50 Minutes
Round difficulty - Medium
This was the last round, which consists of some basic hr questions and theory questions.
Tip 1 : Single page resume but brief
Tip 2 : Be calm and confident
Tip 3 : Solve previous interview questions of Amazon
Tip 1 : Don't make resume too lengthy.
Tip 2 : Mention your achievements in resume if any
What people are saying about Amazon
I was interviewed in Dec 2020.
Round duration - 75 Minutes
Round difficulty - Medium
You are provided with a 2-dimensional matrix having N
rows and M
columns, containing only 1s (land) and 0s (water). Your goal is to determine the number of islands in t...
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...
Round duration - 60 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.
...You are given an integer array 'ARR' of size 'N' and an integer 'S'. Your task is to find and return a list of all pairs of elements where each sum of a pair equals 'S'.
Round duration - 60 Minutes
Round difficulty - Medium
it was pure DSA round, no HR round was there after this
You need to determine all possible paths for a rat starting at position (0, 0) in a square maze to reach its destination at (N-1, N-1). The maze is represented as an N*N ma...
Tip 1 : Practice as many problems as you can
Tip 2 : Code the problems under by setting some limits
Tip 3 : Consistency is the key
Tip 1 : Mention at least 2 projects with short description
Tip 2 : Mention your achievements like coding contests and rankings etc
Amazon interview questions for designations
I was interviewed in Dec 2020.
Round duration - 150 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...
You are given an integer array 'ARR' of size 'N' and an integer 'S'. Your task is to find and return a list of all pairs of elements where each sum of a pair equals 'S'.
Round duration - 60 minutes
Round difficulty - Medium
You are provided with two integers, 'N' and 'D'. Your objective is to determine the square root of the number 'N' with a precision up to 'D' decimal pl...
Tip 1 : Have more understanding and confidence over Data Structures and get good understanding of its concepts. At least practice 5-6 coding questions everyday on any coding platform. I had completed around 150+ questions on Leetcode and 250+ questions on Geek For Geeks. Practice regularly rather than completing all coding questions in one go.
Tip 2 : While attempting the questions analyze its time and space complexity. Always work on the strategies to further optimize your solution. Sometimes the interviewer asks only one question and keep on increasing its difficulty by asking for its optimization and will what kind of strategies you implement.
Tip 3 : Along with coding questions keep on studying concepts in details of Operating Systems, databases and object oriented programming. Refer to Geeks For Geeks articles for it. Also refer, Coding Ninja's Data Structures and algorithms course in C++ helped me a lot in improving my OOPS concepts specifically.
Tip 1 : Mention only those skills, projects or achievements which you have completed yourselves and thorough knowledge. Because there will be question around these and in case if you are not able to answer these basic questions it leaves a bad impact on interviewer.
Tip 2 : No need to add too many projects. Only one or two good projects with proper knowledge is fine. Also do the same for skills, do not add so many skills only add those one in which you can discuss and answer.
Tip 3 : Mention achievements which showcase your technical skills, communication skills, leadership quality or teamwork
Get interview-ready with Top Amazon Interview Questions
I was interviewed in Dec 2020.
Round duration - 80 minutes
Round difficulty - Medium
This was Online interview
this is one and only interview which was based on totally DSA (Problem Solving Skills)
which was held on AMAZE CHIME
Timing : 12pm
Environment was very good
Given a Singly Linked List of integers, your task is to reverse the Linked List by altering the links between the nodes.
The first line of input is an intege...
Imagine there are 'N' people at a party, each assigned a unique ID from 0 to N-1. A celebrity at the party is a person who is known by everyone but knows no one else.
Tip 1 : Code Properly, and do more and more practice on DSA
Tip 2 : Understand the concept behind the problem
Tip 3 : Be confident
Tip 1 : Write only topics on which you are confident
Tip 2 : Write important stuff only and try to make one page resume only.
I was interviewed in Nov 2020.
Round duration - 120 Minutes
Round difficulty - Medium
Around 4-5 pm
2 coding questions
7 debugging and output questions
20-30 aptitude questions
A section to test psychology based on various questions and situations.
Given a linked list where each node has two pointers: one pointing to the next node and another which can point randomly to any node in the list or ...
You are provided with an array of integers ARR
of length N
. Your task is to determine the next smaller element for each array element.
The Next Smalle...
Round duration - 50 Minutes
Round difficulty - Medium
Timing - 4pm
Just asked one question based on DSA and asked to make the code modular and well indented.
Didn’t even ask for introduction.
You are given a grid containing oranges where each cell of the grid can contain one of the three integer values:
Round duration - 60 Minutes
Round difficulty - Medium
Started at 4pm
Interviewer introduced himself and then asked me for a brief introduction.
Went ahead to ask 2 DSA based questions.
You are provided with 'K' sorted linked lists, each sorted in increasing order. Your task is to merge all these lists into one single sorted linked list and return the head of ...
You need to determine all possible paths for a rat starting at position (0, 0) in a square maze to reach its destination at (N-1, N-1). The maze is represented as an N*N ma...
Tip 1 : Smart Preparation is very important instead of just preparing everything.
Tip 2 : Going through previous interview experiences helps a lot.
Tip 3 : Focussing on time and space complexities instead of just the logic.
Tip 4 : Be thorough with the projects mentioned in resume.
Tip 5 : Daily practice of as many questions as possible with at least a couple of questions with level:Hard
Tip 1 : Keep it technical and to the point with no catch phrases.
Tip 2 : Use of action verbs to highlight the work put in projects or any previous internships.
Tip 3 : Use of bullet points.
Tip 4 : Mention clickable links of your projects, github account and certificates whenever possible.
I was interviewed in Nov 2020.
Round duration - 90 Minutes
Round difficulty - Medium
It was in the evening, test consists of technical MCQ as well as Aptitude quesitons. There were debugging round of 7 questions and 2 coding questions (medium-hard leetcode level).
Given two binary trees, T and S, determine whether S is a subtree of T. The tree S should have the same structure and node values as a subtree of T.
Given a linked list where each node has two pointers: one pointing to the next node and another which can point randomly to any node in the list or ...
Round duration - 40 minutes
Round difficulty - Medium
It was in Morning. Interviewer was SDE-2 and was experienced.
You are given a task to help ninjas maximize their practice area in a dense forest represented by a sequence of trees (1s) and empty places (0s) in the binary representat...
Ninja is adventurous and loves traveling while being mindful of his expenses. Given a set of 'N' stations connected by 'M' trains, each train starting from station 'A' and r...
Round duration - 60 Minutes
Round difficulty - Easy
It was in evening. Interviewer was really energetic and funny.
You are given a non-empty grid MAT
with 'N' rows and 'M' columns, where each element is either 0 or 1. All rows are sorted in ascending order.
Your task is to ...
Calculate the probability that a knight remains on an N x N chessboard after making K moves. Initially, the knight is placed at a given position on the board. It can move ...
Tip 1 : Try to cover all most common questions of all topics(atleast 300+ questions)
Tip 2 : Try to see as many interview experience as possible of the company you are applying.
Tip 3 : Try to give atleast 2-3 mock interview before main interview
Tip 1 : Try to put competitive programming ranks if possible or Coding Ninjas Certificate, or any proof that you do programming regularly.
Tip 2 : Try to add atleast 2 projects, and study about those projects well/
I was interviewed in Nov 2020.
Round duration - 150 Minutes
Round difficulty - Medium
The test was on AMCAT platform.
The test was of 2.5 hours , web-proctored and switching between tabs was not allowed.
Test consist of 4 sections:
1 Debug section which had 7 questions to correct/write the code. (20min)
2 Coding section having 2 questions. (70 min)
3 Logical Reasoning section. (35 min)
4 Workstyle assessment. (20 min)
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...
Given two binary trees, T and S, determine whether S is a subtree of T. The tree S should have the same structure and node values as a subtree of T.
Round duration - 60 Minutes
Round difficulty - Hard
Interview was conducted on Amazon Chime platform and for coding, link was shared on which I had to code.
Two questions were given to me and requested to solve in the desired time.
Interviewer was friendly and supportive.
You are provided with a graph containing 'N' nodes and 'M' unidirectional edges. Your task is to determine the number of nodes that can be reached from each node 'i', whe...
You are given an array/list ARR
consisting of N
integers. Your task is to generate a new array/list containing the squares of each element in ARR
, with the resu...
Round duration - 45 Minutes
Round difficulty - Medium
Interview was conducted on Amazon Chime platform and for coding, link was shared on which I had to code.
Three questions were given to me and requested to solve in the desired time.
Interviewer was friendly and supportive.
Given a string S
consisting solely of the characters '('
, ')'
, and '*'
, determine if it is a valid string.
1. Every left parenthesis '(' must h...
Given a binary tree of integers, convert it to a sum tree where each node is replaced by the sum of the values of its left and right subtrees. Set leaf nodes to zero.
...Tip 1 : Practice Company specific DS Algo questions from LeetCode, GFG, Interviewbit, Coding Ninjas etc.
Tip 2 : Take mock interviews with your friends to gain confidence.
Tip 3 : Try Solving Questions on Notepad as in interview IDE will not be provided.
Tip 1 : Write things in resume like projects, experience and skills which you can explain and defend clearly.
Tip 2 : Add links of your various online platforms profiles like Codechef, Codeforces etc. if you are active on these platforms.
I was interviewed in Nov 2020.
Round duration - 90 minutes
Round difficulty - Medium
There were 30 MCQ and 7 Debugging question and two coding question
Then technical interview 1
Then last technical plus hr Interview
The objective is to transform a given Binary Search Tree (BST) into a right-skewed BST, effectively flattening it into a sorted list. In the resulting structure, every node's ...
Transform a Binary Search Tree into a right-skewed BST, flattening it into a sorted list.
Implement a function to flatten the BST into a sorted list by linking nodes through right children.
Traverse the BST in-order and adjust the pointers to create the right-skewed structure.
Ensure that every node's left child is NULL in the resulting flattened BST.
Output the values of nodes in the skewed BST in level order for each tes...
Given a positive integer 'N', representing the number of tasks, and a list of dependency pairs, determine if it is possible to complete all tasks considering thes...
Given tasks and dependencies, determine if all tasks can be completed based on prerequisites.
Create a graph representation of tasks and dependencies.
Use topological sorting to check if there is a cycle in the graph.
Return 'Yes' if no cycle is found, 'No' otherwise.
Round duration - 60 minutes
Round difficulty - Medium
Two questions were given to me and requested to solve in the desired time.
Given a Singly Linked List of integers that are sorted based on their absolute values, the task is to sort the linked list based on the actual values.
The absolute...
Sort a Singly Linked List based on actual values instead of absolute values.
Traverse the linked list and store the nodes in an array.
Sort the array based on the actual values of the nodes.
Reconstruct the linked list using the sorted array.
Given a Binary Search Tree of integers, transform it into a Greater Sum Tree where each node's value is replaced with the sum of all node values gr...
Convert a Binary Search Tree to a Greater Sum Tree by replacing each node's value with the sum of all node values greater than the current node's value.
Traverse the BST in reverse inorder (right-root-left) to visit nodes in descending order.
Keep track of the running sum of visited nodes and update each node's value with this sum.
Modify the BST in place without creating a new tree.
Example: For input 11 2 29 1 7 15 40 -1...
Round duration - 60 minutes
Round difficulty - Medium
Two questions were asked but I don't remember the second one.
You are given an array ARR
of size N
and an integer K
. Your task is to split ARR
into K
sub-arrays such that the maximum sum obtained from these K
subarrays is minimized.
Split an array into K subarrays to minimize the maximum sum obtained from the subarrays.
Sort the array in descending order to get the maximum sum possible.
Use binary search to find the minimum possible value of the maximum sum.
Consider the constraints to optimize the solution.
Example: For N=4, K=3, ARR=[1, 2, 3, 4], the minimum possible value of the maximum sum is 4.
Tip 1 : Strengthen your base , by doing easy level questions , then try medium level and then hard
Tip 2 : You will face many problems while preparing but stay focused towards your goal
Tip 1 : A few good projects will do the work
Tip 2 : Provide links of coding platform you are doing well
Some of the top questions asked at the Amazon Software Developer Intern interview -
The duration of Amazon Software Developer Intern interview process can vary, but typically it takes about less than 2 weeks to complete.
based on 40 interviews
3 Interview rounds
based on 91 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.3 L/yr - ₹6.5 L/yr |
Associate
2.8k
salaries
| ₹0.8 L/yr - ₹6.9 L/yr |
Senior Associate
2.5k
salaries
| ₹2 L/yr - ₹10.1 L/yr |
Program Manager
2.3k
salaries
| ₹9 L/yr - ₹36 L/yr |
Flipkart
TCS
Netflix