Amazon Interview
Amazon Interview
BIBLE
TOPTALENT.IN
Index
1. Why Amazon?
2. Interview Process
3. Sample Questions 1
4. Sample Questions 2
5. Sample Questions 3
6. Sample Questions 4
7. Sample Resume 1
8. Sample Resume 2
10
Why
Amazon
Headquarters: Seattle, WA
Founded: 1994
At Amazon, everybody is
pushing for the same goals
centered on the customer.
Big raise on promotion happen
less frequently. Average raises
for the average people.
An influential department is a
fantastic place to learn how to
launch a product from ground up.
Interview
Process
HR interview :This round is mostly about whether you are culturally fit for
the company. Questions like Why Amazon?, What are your
Expectations from Amazon? etc. will be asked.
Sample
Questions
Sample
Questions
4.
5.
6.
7.
8.
9.
10.
11.
12.
13.
Given a infinite stream of integers, find the first nonrepeated number till now. Write code for this.
Print a binary tree in a level order traversal but in
bottom to top manner.
A string consists of parentheses and letters. Write a
program to validate all the parentheses. Ignore the
letters.
You are given an array in which youve to find a
contiguous subarray such that the sum of elements in it
is equal to zero.
Given an MxN array, in which the rows are sorted. Need
to sort the complete array
Swap two node pointers in a singly linked list
(algo+code)
Connecting all nodes at the same in Binary
Tree(Approach + code)
Given a linked list with next and arbit pointer. Clone the
list(Approach + code)
Print the level order of binary tree such that each level
should print in a different line
Push() and Pop() methods of stack are given. Write a
function to get the minimum of stack in O(1) time
Write a program to find longest repeating substring In a
given string running code were required covering all
base cases.
Write a program to remove duplicates from array of
prime numbers.
Given a matrix m x n containing integers. Find a k x k
submatrix which has the largest sum. Solve using prefix
sum matrix.
Sample
Questions
3.
4.
5.
6.
7.
8.
9.
10.
11.
12.
13.
Given a infinite stream of integers, find the first nonrepeated number till now. Write code for this.
Given 2 BSTs, validate their equality. Both are equal if
they consist of the same set of values irrespective of
their structures.
Reverse every k-element in a linked list
Check if two trees are mirror trees
You are given a generic tree. Design a structure for it.
Now for every node of the tree make the leftmost child
of the node as a duplicate of the node itself and return
the root of the tree.
Spiral Level order traversal of Binary tree
Given sorted & rotated array find the index of given
integer
A singly linked list, find the kth element from the last.
The question was further modified to not to process a
node more than once. (algo)
How to find if nodes in LL are odd or even(Approach )
Sort the linked list which contains only 1,2,3 numbers in
a single pass
Connect nodes at same level in a binary tree( may not
be a complete binary tree) without using recursion
Given a 2D matrix which contains 0's and 1's. Given two
points of matrix whose value is 1. Find the path(with
only 1's) between the given points
In a binary tree find the least common ancestor for two
nodes. (Write code)
Sample
Questions
2.
3.
4.
5.
6.
7.
8.
Sample
Questions
9.
10.
11.
12.
13.