Top Amazon Coding Interview Questions
Topics
Company
Difficulty
Problem Title
Difficulty
Avg Time to solve
Attempted
Longest Univalue path
4

Easy
10 mins
25
Rearrange String
1

Easy
15 mins
17
Delete middle element from stack
1

Easy
15 mins
27
Shortest path in an unweighted graph
2



Easy
25 mins
39
Search for integers with given difference and at given distance
1

Easy
15 mins
15
Special Binary Tree.
0

Easy
15 mins
24
Fire in the cells.
0

Easy
15 mins
43
Check if the Word is present in Sentence or not
1

Easy
15 mins
17
Two Substrings
7



Easy
10 mins
92
Left Sum
0

Easy
10 mins
7
Count Distinct Element in Every K Size Window
0

Easy
15 mins
20
Point to Next Increasing Node
0

Easy
10 mins
2
First non repeating character
0

Easy
15 mins
3
Count Frequency
1

Easy
15 mins
33
K Turns Allowed
2

Moderate
25 mins
8
Find Longest Sequence
0

Easy
15 mins
5
Smallest subarray with required sum
0



Moderate
25 mins
39
Maximum subarray
2




+1
Hard
55 mins
55
Subtree of Another Tree
1

Easy
10 mins
25
Maximum size rectangle sub-matrix with all 1's
0


Easy
10 mins
16
Count derangements
0

Moderate
35 mins
33
Matrix Median
0

Easy
15 mins
21
Count Triplets
0

Easy
15 mins
38
Max GCD Pair
0

Moderate
35 mins
26
Max element in the path
1

Easy
15 mins
18
Longest Univalue path NEW
Easy

4 upvotes
Rearrange String NEW
Easy

1 upvote
Delete middle element from stack NEW
Easy

1 upvote
Shortest path in an unweighted graph NEW
Easy


+1
2 upvotes
Search for integers with given difference and at given distance NEW
Easy

1 upvote
Special Binary Tree. NEW
Easy

0 upvotes
Fire in the cells. NEW
Easy

0 upvotes
Check if the Word is present in Sentence or not NEW
Easy

1 upvote
Two Substrings NEW
Easy


+1
7 upvotes
Left Sum NEW
Easy

0 upvotes
Count Distinct Element in Every K Size Window NEW
Easy

0 upvotes
Point to Next Increasing Node NEW
Easy

0 upvotes
First non repeating character NEW
Easy

0 upvotes
Count Frequency NEW
Easy

1 upvote
K Turns Allowed NEW
Moderate

2 upvotes
Find Longest Sequence NEW
Easy

0 upvotes
Smallest subarray with required sum NEW
Moderate


+1
0 upvotes
Maximum subarray NEW
Hard


+3
2 upvotes
Subtree of Another Tree NEW
Easy

1 upvote
Maximum size rectangle sub-matrix with all 1's NEW
Easy


0 upvotes
Count derangements NEW
Moderate

0 upvotes
Matrix Median NEW
Easy

0 upvotes
Count Triplets NEW
Easy

0 upvotes
Max GCD Pair NEW
Moderate

0 upvotes
Max element in the path
Easy

1 upvote
Preparation Video
How To Crack Product Based Companies?