i
Amazon
Proud winner of ABECA 2024 - AmbitionBox Employee Choice Awards
Filter interviews by
Clear (1)
I applied via Campus Placement and was interviewed before Aug 2023. There was 1 interview round.
Interviewer asked questions on searching in sorted rotated array
Invert binary tree etc
I applied via Campus Placement and was interviewed before Apr 2023. There were 3 interview rounds.
2 DSA medium questions + debugging
I applied via Company Website and was interviewed before Aug 2022. There were 3 interview rounds.
TREE , GRAPH , HASHING , STRING ,DP ,RECURSION
What people are saying about Amazon
I applied via Company Website and was interviewed in Feb 2022. There were 3 interview rounds.
Given a binary string, find zeroes to flip to maximize consecutive 1's.
Iterate through the string and count the number of consecutive 1's.
When a zero is encountered, calculate the length of the current consecutive 1's and store it.
Flip the zero and continue counting consecutive 1's from the flipped position.
Compare the lengths of consecutive 1's before and after flipping the zero.
Return the position of the zero that ma...
Algorithm to find the first circular tour that visits all petrol pumps.
Calculate the difference between petrol and distance at each pump
If the difference is negative, start from the next pump
If the total difference is positive, a circular tour is possible
Start from the first pump with positive difference and complete the tour
Use a queue to keep track of the pumps visited
Algorithm to find maximum profit by buying and selling a stock at most twice
Find the maximum profit by buying and selling the stock once from left to right
Find the maximum profit by buying and selling the stock once from right to left
Add the two maximum profits obtained above to get the maximum profit by buying and selling the stock at most twice
Merge sort has a time complexity of O(n log n).
Merge sort is a divide-and-conquer algorithm.
It recursively divides the input array into two halves.
Then it sorts each half and merges them back together.
The time complexity is O(n log n) in all cases.
It is a stable sorting algorithm and can handle large data sets efficiently.
Reverse a given linked list
Iteratively swap the next and previous pointers of each node
Recursively swap the next and previous pointers of each node
Use a stack to push each node and then pop them to create the reversed list
Amazon interview questions for designations
I applied via Campus Placement and was interviewed before Mar 2023. There were 2 interview rounds.
2 OA questions the difficulty like LC medium hard
Find the longest substring without repeating characters in a given string.
Use a sliding window approach to keep track of the current substring without repeating characters.
Use a hash set to store the characters in the current substring and check for duplicates.
Update the start index of the window when a duplicate character is found to maintain the longest substring without repeating characters.
Get interview-ready with Top Amazon Interview Questions
I was interviewed in Nov 2021.
Round duration - 90 Minutes
Round difficulty - Medium
Part 1. 7 Bug fixes
Part 2. 2 DSA Medium Hard Questions
Part 3: Behavioral Questions MCQ
Given a sequence of 'N' space-separated non-negative integers A[1], A[2], ..., A[i], ..., A[n], where each number in the sequence represents the height of a lin...
Given a sequence of non-negative integers representing the height of lines on a cartesian plane, find two lines that form a container with the maximum area of water.
Use two pointers approach to find the maximum area
Start with the widest container and gradually move the pointers towards each other
Calculate the area at each step and update the maximum area
The area is calculated as the minimum height of the two lines mult
You are given a country called 'Ninjaland' with 'N' states, numbered from 1 to 'N'. These states are connected by 'M' bidirectional roads, each with a specified travel cost. Th...
The task is to select 'N' - 1 roads in a country with 'N' states, such that the tourist bus can travel to every state at least once at minimum cost.
The problem can be solved using a minimum spanning tree algorithm, such as Kruskal's algorithm or Prim's algorithm.
Create a graph representation of the country using the given roads and their costs.
Apply the minimum spanning tree algorithm to find the minimum cost roads tha...
Round duration - 80 minutes
Round difficulty - Medium
Face to Face DSA online round conducted on Amazon Chime platform.
You are provided with an integer array ARR
of length 'N'. Your objective is to determine the first missing positive integer using linear time and constant space. T...
The task is to find the lowest positive integer that does not exist in the given array of integers.
Iterate through the array and mark the positive integers as visited using the array indices.
Iterate through the marked array and return the index of the first unmarked element.
If all positive integers are marked, return the length of the array + 1 as the missing positive integer.
You are provided with a directory path in Unix-style notation, and your task is to simplify it according to given rules.
In a Unix-style file system:
The task is to simplify a given Unix-style directory path and determine the final destination.
Replace multiple slashes with a single slash
Handle dot (.) by ignoring it
Handle double dot (..) by removing the previous directory from the path
Ensure the simplified path starts with a slash and does not have a trailing slash
Round duration - 60 minutes
Round difficulty - Easy
Face to Face DSA Round where I was asked 2 coding questions
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'.
Given an array and a target sum, find all pairs of elements in the array that add up to the target sum.
Create an empty list to store the pairs
Iterate through the array and for each element, check if there is a complement (target sum minus the current element) in the array
If a complement is found, add the pair (current element, complement) to the list
Sort the list of pairs in non-decreasing order of their first value
If ...
Given a sorted array ARR
and a number X
, your task is to determine the count of occurrences of X
within ARR
.
X
is not found in the array, return...The task is to count the number of occurrences of a given number in a sorted array.
Use binary search to find the first and last occurrence of the given number in the array.
Subtract the indices of the first and last occurrence to get the count.
Handle the case when the number is not found in the array.
Tip 1 : Solve Leetcode/SDE sheet provided by Striver most problems came from the Sheet itself
Tip 2 : Try to solve the 1st of the 2 questions as fast as possible as the time limit is 1 hour
Tip 3 : Make sure you have projects and have done some internship's so that they can actually ask questions from the resume.
Tip 1 : Have some projects on your resume
Tip 2 : It helps if you had even some small internship experience in the past
I was interviewed in Dec 2021.
Round duration - 50 Minutes
Round difficulty - Easy
Rounds are technically based on DSA and the projects that I mentioned, and it will be last at least 50 minutes.
You are given a 9 X 9 2D matrix named MATRIX
which contains some cells filled with digits (1 to 9) and some cells left empty (denoted by 0).
Your task is to determine if th...
The task is to determine if a given 9x9 matrix can be filled with digits 1-9 to form a valid Sudoku solution.
Iterate through each cell in the matrix.
For each empty cell, try filling it with a digit from 1-9 and check if it satisfies the Sudoku conditions.
Use helper functions to check if the digit is valid in the current row, column, and sub-matrix.
If a valid digit is found, recursively fill the next empty cell.
If all c...
Tip 1 : Consistency with DSA
Tip 2 : Regular problem solving
Tip 3 : Daily challenges
Tip 1 : Well mannered that every detail is specified in a very preferable manner.
Tip 2 : All on one page, such that they follow the format of the resume.
I applied via Campus Placement and was interviewed before Apr 2023. There were 2 interview rounds.
Very simple implementation questions
Count the number of connected components in a grid
Use Depth First Search (DFS) or Breadth First Search (BFS) to traverse the grid
Keep track of visited nodes to avoid revisiting them
Each connected component will have its own set of connected nodes
I applied via Company Website and was interviewed before Mar 2023. There was 1 interview round.
Good knowledge of DSA is the key to solving the 2 questions
I applied via LinkedIn and was interviewed before Sep 2022. There were 3 interview rounds.
2 questions on hackerrank easy problems
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 L/yr - ₹0 L/yr |
Transaction Risk Investigator
3.1k
salaries
| ₹0 L/yr - ₹0 L/yr |
Associate
2.8k
salaries
| ₹0 L/yr - ₹0 L/yr |
Senior Associate
2.5k
salaries
| ₹0 L/yr - ₹0 L/yr |
Program Manager
2.1k
salaries
| ₹0 L/yr - ₹0 L/yr |
Flipkart
TCS
Netflix