Amazon Logo

Amazon Questions

Here are the LeetCode questions for Amazon.

Total: 2000
Easy: 536
Medium: 1100
Hard: 364
Progress: 0%

Topic Frequency Analysis

All Topics

Rank Topic Frequency Percentage
1 Array 971
48.5%
2 String 445
22.3%
3 Hash Table 376
18.8%
4 Dynamic Programming 318
15.9%
5 Math 303
15.2%
6 Sorting 238
11.9%
7 Depth-First Search 205
10.3%
8 Greedy 199
10.0%
9 Tree 159
8.0%
10 Binary Search 155
7.8%
11 Breadth-First Search 153
7.6%
12 Database 144
7.2%
13 Matrix 142
7.1%
14 Two Pointers 141
7.0%
15 Binary Tree 130
6.5%
16 Bit Manipulation 128
6.4%
17 Stack 111
5.5%
18 Heap (Priority Queue) 106
5.3%
19 Simulation 92
4.6%
20 Design 90
4.5%
21 Prefix Sum 87
4.3%
22 Sliding Window 82
4.1%
23 Graph Theory 79
4.0%
24 Backtracking 76
3.8%
25 Counting 73
3.6%
26 Enumeration 55
2.8%
27 Linked List 54
2.7%
28 Union-Find 42
2.1%
29 Monotonic Stack 39
1.9%
30 Ordered Set 39
1.9%
31 Divide and Conquer 38
1.9%
32 Recursion 37
1.8%
33 Trie 32
1.6%
34 Binary Search Tree 31
1.6%
35 Segment Tree 30
1.5%
36 Memoization 27
1.4%
37 Queue 26
1.3%
38 Number Theory 25
1.3%
39 Bitmask 25
1.3%
40 Binary Indexed Tree 22
1.1%
41 Geometry 21
1.1%
42 Topological Sort 20
1.0%
43 Combinatorics 20
1.0%
44 Hash Function 19
0.9%
45 String Matching 15
0.8%
46 Shortest Path 15
0.8%
47 Rolling Hash 14
0.7%
48 Data Stream 14
0.7%
49 Game Theory 14
0.7%
50 Interactive 13
0.7%
51 Brainteaser 12
0.6%
52 Merge Sort 9
0.4%
53 Randomized 9
0.4%
54 Doubly-Linked List 8
0.4%
55 Monotonic Queue 8
0.4%
56 Sweep Line 7
0.4%
57 Iterator 7
0.4%
58 Concurrency 6
0.3%
59 Bucket Sort 6
0.3%
60 Counting Sort 6
0.3%
61 Suffix Array 5
0.3%
62 Quickselect 5
0.3%
63 Reservoir Sampling 4
0.2%
64 Probability and Statistics 4
0.2%
65 Radix Sort 3
0.1%
66 Minimum Spanning Tree 3
0.1%
67 Shell 2
0.1%
68 Eulerian Circuit 2
0.1%
69 Strongly Connected Component 2
0.1%
No. Question Title Link Difficulty Solved
1 Maximum Capacity Within Budget Visit Medium
2 Maximum Bitwise AND After Increment Operations Visit Hard
3 Find Maximum Value in a Constrained Sequence Visit Medium
4 Reverse String Prefix Visit Easy
5 Total Sum of Interaction Cost in Tree Groups Visit Hard
6 Restricted Restricted Hard
7 Restricted Restricted Hard
8 Restricted Restricted Hard
9 Restricted Restricted Hard
10 Restricted Restricted Hard
11 Restricted Restricted Hard
12 Restricted Restricted Hard
13 Restricted Restricted Hard
14 Restricted Restricted Hard
15 Restricted Restricted Hard

Log in to access all 2000 questions for free!

Log In

Frequently Asked Questions

Common questions about Amazon interviews