Amazon Leetcode Problems
Amazon Leetcode Problems
Amazon
Notice
We've improved our algorithm that calculates company tags and their frequencies to be more accurate and current.
1741 Find Total Time Spent by Eac… Database (/tag/database) 90.9% Easy
1303 Find the Team Size (/problem… Database (/tag/database) 90.2% Easy
1480 Running Sum of 1d Array (/pr… Array (/tag/array) Prefix Sum (/tag/prefix-sum) 89.0% Easy
1623 All Valid Triplets That Can Re… Database (/tag/database) 88.9% Easy
1431 Kids With the Greatest Numb… Array (/tag/array) 88.0% Easy
1512 Number of Good Pairs (/probl… Array (/tag/array) Hash Table (/tag/hash-table) Math (/tag/math) 87.6% Easy
Counting (/tag/counting)
771 Jewels and Stones (/problem… Hash Table (/tag/hash-table) String (/tag/string) 87.3% Easy
1603 Design Parking System (/prob… Design (/tag/design) Simulation (/tag/simulation) 86.6% Easy
Counting (/tag/counting)
1777 Product's Price for Each Stor… Database (/tag/database) 86.3% Easy
1365 How Many Numbers Are Sma… Array (/tag/array) Hash Table (/tag/hash-table) 85.9% Easy
1342 Number of Steps to Reduce a… Math (/tag/math) Bit Manipulation (/tag/bit-manipulation) 85.6% Easy
1221 Split a String in Balanced Stri… String (/tag/string) Greedy (/tag/greedy) Counting (/tag/counting) 84.5% Easy
938 Range Sum of BST (/problem… Tree (/tag/tree) Depth-First Search (/tag/depth-first-search) 83.7% Easy
1266 Minimum Time Visiting All Poi… Array (/tag/array) Math (/tag/math) Geometry (/tag/geometry) 79.2% Easy
1180 Count Substrings with Only O… Math (/tag/math) String (/tag/string) 78.2% Easy
1863 Sum of All Subset XOR Totals… Array (/tag/array) Backtracking (/tag/backtracking) 78.1% Easy
1370 Increasing Decreasing String … Hash Table (/tag/hash-table) String (/tag/string) 77.6% Easy
Counting (/tag/counting)
1304 Find N Unique Integers Sum … Array (/tag/array) Math (/tag/math) 76.6% Easy
1086 High Five (/problems/high-five) Array (/tag/array) Hash Table (/tag/hash-table) 76.4% Easy
Sorting (/tag/sorting)
617 Merge Two Binary Trees (/pro… Tree (/tag/tree) Depth-First Search (/tag/depth-first-search) 76.2% Easy
1085 Sum of Digits in the Minimum … Array (/tag/array) Math (/tag/math) 75.4% Easy
1351 Count Negative Numbers in a… Array (/tag/array) Binary Search (/tag/binary-search) 75.4% Easy
Matrix (/tag/matrix)
897 Increasing Order Search Tree… Stack (/tag/stack) Tree (/tag/tree) 75.3% Easy
905 Sort Array By Parity (/problem… Array (/tag/array) Two Pointers (/tag/two-pointers) 74.9% Easy
Sorting (/tag/sorting)
590 N-ary Tree Postorder Travers… Stack (/tag/stack) Tree (/tag/tree) 74.8% Easy
https://leetcode.com/company/Amazon/ 2/47
11/08/2021 Amazon - LeetCode
346
# Moving
Title Average from Data St… Array (/tag/array)
Tags Design (/tag/design) Queue (/tag/queue) 74.5%
Acceptance Easy
Difficulty Frequency
Data Stream (/tag/data-stream)
657 Robot Return to Origin (/probl… String (/tag/string) Simulation (/tag/simulation) 74.5% Easy
557 Reverse Words in a String III … Two Pointers (/tag/two-pointers) String (/tag/string) 73.5% Easy
359 Logger Rate Limiter (/problem… Hash Table (/tag/hash-table) Design (/tag/design) 73.4% Easy
1050 Actors and Directors Who Co… Database (/tag/database) 72.4% Easy
1710 Maximum Units on a Truck (/… Array (/tag/array) Greedy (/tag/greedy) Sorting (/tag/sorting) 72.4% Easy
1022 Sum of Root To Leaf Binary N… Tree (/tag/tree) Depth-First Search (/tag/depth-first-search) 72.0% Easy
1337 The K Weakest Rows in a Ma… Array (/tag/array) Binary Search (/tag/binary-search) 72.0% Easy
Sorting (/tag/sorting)
Matrix (/tag/matrix)
344 Reverse String (/problems/rev… Two Pointers (/tag/two-pointers) String (/tag/string) 71.6% Easy
Recursion (/tag/recursion)
852 Peak Index in a Mountain Arr… Array (/tag/array) Binary Search (/tag/binary-search) 71.5% Easy
1047 Remove All Adjacent Duplicat… String (/tag/string) Stack (/tag/stack) 71.5% Easy
977 Squares of a Sorted Array (/p… Array (/tag/array) Two Pointers (/tag/two-pointers) 71.4% Easy
Sorting (/tag/sorting)
922 Sort Array By Parity II (/proble… Array (/tag/array) Two Pointers (/tag/two-pointers) 70.7% Easy
Sorting (/tag/sorting)
1217 Minimum Cost to Move Chips… Array (/tag/array) Math (/tag/math) Greedy (/tag/greedy) 70.6% Easy
1502 Can Make Arithmetic Progres… Array (/tag/array) Sorting (/tag/sorting) 70.3% Easy
559 Maximum Depth of N-ary Tre… Tree (/tag/tree) Depth-First Search (/tag/depth-first-search) 70.1% Easy
876 Middle of the Linked List (/pro… Linked List (/tag/linked-list) Two Pointers (/tag/two-pointers) 69.7% Easy
104 Maximum Depth of Binary Tre… Tree (/tag/tree) Depth-First Search (/tag/depth-first-search) 69.4% Easy
237 Delete Node in a Linked List (… Linked List (/tag/linked-list) 69.1% Easy
1332 Remove Palindromic Subseq… Two Pointers (/tag/two-pointers) String (/tag/string) 68.8% Easy
1002 Find Common Characters (/pr… Array (/tag/array) Hash Table (/tag/hash-table) String (/tag/string) 68.7% Easy
226 Invert Binary Tree (/problems/… Tree (/tag/tree) Depth-First Search (/tag/depth-first-search) 68.6% Easy
https://leetcode.com/company/Amazon/ 3/47
11/08/2021 Amazon - LeetCode
682 Baseball Game (/problems/ba… Array (/tag/array) Stack (/tag/stack) Simulation (/tag/simulation) 68.3% Easy
965 Univalued Binary Tree (/probl… Tree (/tag/tree) Depth-First Search (/tag/depth-first-search) 68.2% Easy
1122 Relative Sort Array (/problem… Array (/tag/array) Hash Table (/tag/hash-table) 67.9% Easy
94 Binary Tree Inorder Traversal … Stack (/tag/stack) Tree (/tag/tree) 67.8% Easy
1160 Find Words That Can Be For… Array (/tag/array) Hash Table (/tag/hash-table) String (/tag/string) 67.8% Easy
1491 Average Salary Excluding the… Array (/tag/array) Sorting (/tag/sorting) 67.8% Easy
463 Island Perimeter (/problems/is… Array (/tag/array) Depth-First Search (/tag/depth-first-search) 67.4% Easy
1636 Sort Array by Increasing Freq… Array (/tag/array) Hash Table (/tag/hash-table) 67.4% Easy
Sorting (/tag/sorting)
136 Single Number (/problems/sin… Array (/tag/array) Bit Manipulation (/tag/bit-manipulation) 67.3% Easy
1133 Largest Unique Number (/pro… Array (/tag/array) Hash Table (/tag/hash-table) 67.2% Easy
Sorting (/tag/sorting)
1779 Find Nearest Point That Has t… Array (/tag/array) 67.2% Easy
206 Reverse Linked List (/problem… Linked List (/tag/linked-list) Recursion (/tag/recursion) 67.1% Easy
929 Unique Email Addresses (/pro… Array (/tag/array) Hash Table (/tag/hash-table) String (/tag/string) 67.1% Easy
496 Next Greater Element I (/prob… Array (/tag/array) Hash Table (/tag/hash-table) Stack (/tag/stack) 67.0% Easy
637 Average of Levels in Binary T… Tree (/tag/tree) Depth-First Search (/tag/depth-first-search) 66.9% Easy
349 Intersection of Two Arrays (/p… Array (/tag/array) Hash Table (/tag/hash-table) 66.6% Easy
Sorting (/tag/sorting)
762 Prime Number of Set Bits in B… Math (/tag/math) Bit Manipulation (/tag/bit-manipulation) 65.3% Easy
412 Fizz Buzz (/problems/fizz-buzz) Math (/tag/math) String (/tag/string) Simulation (/tag/simulation) 64.7% Easy
884 Uncommon Words from Two … Hash Table (/tag/hash-table) String (/tag/string) 64.7% Easy
https://leetcode.com/company/Amazon/ 4/47
11/08/2021 Amazon - LeetCode
706 Design HashMap (/problems/… Array (/tag/array) Hash Table (/tag/hash-table) 63.9% Easy
1408 String Matching in an Array (/… String (/tag/string) String Matching (/tag/string-matching) 63.7% Easy
266 Palindrome Permutation (/pro… Hash Table (/tag/hash-table) String (/tag/string) 63.5% Easy
Bit Manipulation (/tag/bit-manipulation)
108 Convert Sorted Array to Binar… Array (/tag/array) Divide and Conquer (/tag/divide-and-conquer) 63.2% Easy
243 Shortest Word Distance (/pro… Array (/tag/array) String (/tag/string) 62.9% Easy
1046 Last Stone Weight (/problems… Array (/tag/array) Heap (Priority Queue) (/tag/heap-priority-queue) 62.5% Easy
1260 Shift 2D Grid (/problems/shift-… Array (/tag/array) Matrix (/tag/matrix) Simulation (/tag/simulation) 61.9% Easy
867 Transpose Matrix (/problems/t… Array (/tag/array) Matrix (/tag/matrix) Simulation (/tag/simulation) 61.7% Easy
1065 Index Pairs of a String (/probl… Array (/tag/array) String (/tag/string) Trie (/tag/trie) 61.2% Easy
Sorting (/tag/sorting)
169 Majority Element (/problems/… Array (/tag/array) Hash Table (/tag/hash-table) 60.9% Easy
Counting (/tag/counting)
1099 Two Sum Less Than K (/probl… Array (/tag/array) Two Pointers (/tag/two-pointers) 60.6% Easy
Binary Search (/tag/binary-search) Sorting (/tag/sorting)
145 Binary Tree Postorder Traver… Stack (/tag/stack) Tree (/tag/tree) 59.9% Easy
122 Best Time to Buy and Sell Sto… Array (/tag/array) 59.7% Easy
Dynamic Programming (/tag/dynamic-programming)
Greedy (/tag/greedy)
242 Valid Anagram (/problems/vali… Hash Table (/tag/hash-table) String (/tag/string) 59.6% Easy
Sorting (/tag/sorting)
888 Fair Candy Swap (/problems/f… Array (/tag/array) Hash Table (/tag/hash-table) 59.6% Easy
258 Add Digits (/problems/add-dig… Math (/tag/math) Simulation (/tag/simulation) 59.4% Easy
144 Binary Tree Preorder Travers… Stack (/tag/stack) Tree (/tag/tree) 59.2% Easy
https://leetcode.com/company/Amazon/ 5/47
11/08/2021 Amazon - LeetCode
1629 Slowest Key (/problems/slow… Array (/tag/array) String (/tag/string) 59.1% Easy
283 Move Zeroes (/problems/mov… Array (/tag/array) Two Pointers (/tag/two-pointers) 59.0% Easy
389 Find the Difference (/problem… Hash Table (/tag/hash-table) String (/tag/string) 58.5% Easy
171 Excel Sheet Column Number … Math (/tag/math) String (/tag/string) 58.0% Easy
217 Contains Duplicate (/problem… Array (/tag/array) Hash Table (/tag/hash-table) 57.9% Easy
Sorting (/tag/sorting)
1331 Rank Transform of an Array (/… Array (/tag/array) Hash Table (/tag/hash-table) 57.6% Easy
Sorting (/tag/sorting)
13 Roman to Integer (/problems/… Hash Table (/tag/hash-table) Math (/tag/math) String (/tag/string) 57.5% Easy
21 Merge Two Sorted Lists (/pro… Linked List (/tag/linked-list) Recursion (/tag/recursion) 57.4% Easy
448 Find All Numbers Disappeare… Array (/tag/array) Hash Table (/tag/hash-table) 56.8% Easy
653 Two Sum IV - Input is a BST (… Hash Table (/tag/hash-table) Two Pointers (/tag/two-pointers) 56.8% Easy
268 Missing Number (/problems/… Array (/tag/array) Hash Table (/tag/hash-table) Math (/tag/math) 56.7% Easy
167 Two Sum II - Input array is so… Array (/tag/array) Two Pointers (/tag/two-pointers) 56.5% Easy
606 Construct String from Binary … String (/tag/string) Tree (/tag/tree) 56.4% Easy
733 Flood Fill (/problems/flood-fill) Array (/tag/array) Depth-First Search (/tag/depth-first-search) 56.3% Easy
Memoization (/tag/memoization)
252 Meeting Rooms (/problems/m… Array (/tag/array) Sorting (/tag/sorting) 55.9% Easy
257 Binary Tree Paths (/problems/… String (/tag/string) Tree (/tag/tree) 55.7% Easy
937 Reorder Data in Log Files (/pr… Array (/tag/array) String (/tag/string) Sorting (/tag/sorting) 55.3% Easy
1496 Path Crossing (/problems/pat Hash Table (/tag/hash table) String (/tag/string) 55 2% Easy
https://leetcode.com/company/Amazon/ 6/47
11/08/2021 Amazon - LeetCode
1496 Path Crossing (/problems/pat… Hash Table (/tag/hash-table) String (/tag/string) 55.2% Easy
# Title Tags Acceptance Difficulty Frequency
783 Minimum Distance Between … Tree (/tag/tree) Depth-First Search (/tag/depth-first-search) 54.9% Easy
704 Binary Search (/problems/bin… Array (/tag/array) Binary Search (/tag/binary-search) 54.9% Easy
387 First Unique Character in a St… Hash Table (/tag/hash-table) String (/tag/string) 54.8% Easy
1539 Kth Missing Positive Number … Array (/tag/array) Binary Search (/tag/binary-search) 54.7% Easy
100 Same Tree (/problems/same-t… Tree (/tag/tree) Depth-First Search (/tag/depth-first-search) 54.6% Easy
232 Implement Queue using Stac… Stack (/tag/stack) Design (/tag/design) Queue (/tag/queue) 54.1% Easy
1886 Determine Whether Matrix Ca… Array (/tag/array) Matrix (/tag/matrix) 54.1% Easy
235 Lowest Common Ancestor of … Tree (/tag/tree) Depth-First Search (/tag/depth-first-search) 54.0% Easy
746 Min Cost Climbing Stairs (/pro… Array (/tag/array) 54.0% Easy
383 Ransom Note (/problems/ran… Hash Table (/tag/hash-table) String (/tag/string) 53.9% Easy
Counting (/tag/counting)
1176 Diet Plan Performance (/probl… Array (/tag/array) Sliding Window (/tag/sliding-window) 53.5% Easy
1275 Find Winner on a Tic Tac Toe … Array (/tag/array) Hash Table (/tag/hash-table) 53.1% Easy
404 Sum of Left Leaves (/problem… Tree (/tag/tree) Depth-First Search (/tag/depth-first-search) 52.9% Easy
661 Image Smoother (/problems/i… Array (/tag/array) Matrix (/tag/matrix) 52.8% Easy
350 Intersection of Two Arrays II (/… Array (/tag/array) Hash Table (/tag/hash-table) 52.7% Easy
Sorting (/tag/sorting)
409 Longest Palindrome (/proble… Hash Table (/tag/hash-table) String (/tag/string) 52.5% Easy
Greedy (/tag/greedy)
121 Best Time to Buy and Sell Sto… Array (/tag/array) 52.4% Easy
Dynamic Programming (/tag/dynamic-programming)
993 Cousins in Binary Tree (/probl… Tree (/tag/tree) Depth-First Search (/tag/depth-first-search) 52.4% Easy
1005 Maximize Sum Of Array After … Array (/tag/array) Greedy (/tag/greedy) Sorting (/tag/sorting) 52.2% Easy
https://leetcode.com/company/Amazon/ 7/47
11/08/2021 Amazon - LeetCode
005 a e Su O ay te Array (/tag/array) Greedy (/tag/greedy) Sorting (/tag/sorting) 5 % asy
860 Lemonade Change (/problem… Array (/tag/array) Greedy (/tag/greedy) 52.0% Easy
453 Minimum Moves to Equal Arr… Array (/tag/array) Math (/tag/math) 52.0% Easy
202 Happy Number (/problems/ha… Hash Table (/tag/hash-table) Math (/tag/math) 51.9% Easy
1071 Greatest Common Divisor of … Math (/tag/math) String (/tag/string) 51.9% Easy
703 Kth Largest Element in a Stre… Tree (/tag/tree) Design (/tag/design) 51.6% Easy
270 Closest Binary Search Tree V… Binary Search (/tag/binary-search) Tree (/tag/tree) 51.5% Easy
Depth-First Search (/tag/depth-first-search)
543 Diameter of Binary Tree (/pro… Tree (/tag/tree) Depth-First Search (/tag/depth-first-search) 50.9% Easy
455 Assign Cookies (/problems/as… Array (/tag/array) Greedy (/tag/greedy) Sorting (/tag/sorting) 50.4% Easy
27 Remove Element (/problems/r… Array (/tag/array) Two Pointers (/tag/two-pointers) 50.1% Easy
415 Add Strings (/problems/add-st… Math (/tag/math) String (/tag/string) Simulation (/tag/simulation) 50.1% Easy
303 Range Sum Query - Immutabl… Array (/tag/array) Design (/tag/design) 50.1% Easy
997 Find the Town Judge (/proble… Array (/tag/array) Hash Table (/tag/hash-table) 49.9% Easy
Graph (/tag/graph)
392 Is Subsequence (/problems/is… Two Pointers (/tag/two-pointers) String (/tag/string) 49.8% Easy
541 Reverse String II (/problems/r… Two Pointers (/tag/two-pointers) String (/tag/string) 49.8% Easy
101 Symmetric Tree (/problems/s… Tree (/tag/tree) Depth-First Search (/tag/depth-first-search) 49.5% Easy
225 Implement Stack using Queu… Stack (/tag/stack) Design (/tag/design) Queue (/tag/queue) 49.4% Easy
796 Rotate String (/problems/rotat… String (/tag/string) String Matching (/tag/string-matching) 49.2% Easy
Memoization (/tag/memoization)
53 Maximum Subarray (/problem… Array (/tag/array) Divide and Conquer (/tag/divide-and-conquer) 48.3% Easy
724 Find Pivot Index (/problems/fi… Array (/tag/array) Prefix Sum (/tag/prefix-sum) 48.0% Easy
155 Min Stack (/problems/min-stack) Stack (/tag/stack) Design (/tag/design) 47.7% Easy
1 Two Sum (/problems/two-sum) Array (/tag/array) Hash Table (/tag/hash-table) 47.4% Easy
26 Remove Duplicates from Sort… Array (/tag/array) Two Pointers (/tag/two-pointers) 47.4% Easy
844 Backspace String Compare (/… Two Pointers (/tag/two-pointers) String (/tag/string) 47.3% Easy
628 Maximum Product of Three N… Array (/tag/array) Math (/tag/math) Sorting (/tag/sorting) 46.6% Easy
160 Intersection of Two Linked Lis… Hash Table (/tag/hash-table) Linked List (/tag/linked-list) 46.4% Easy
1360 Number of Days Between Tw… Math (/tag/math) String (/tag/string) 46.4% Easy
717 1-bit and 2-bit Characters (/pr… Array (/tag/array) 46.3% Easy
1013 Partition Array Into Three Part… Array (/tag/array) Greedy (/tag/greedy) 46.3% Easy
345 Reverse Vowels of a String (/… Two Pointers (/tag/two-pointers) String (/tag/string) 45.9% Easy
744 Find Smallest Letter Greater … Array (/tag/array) Binary Search (/tag/binary-search) 45.8% Easy
1128 Number of Equivalent Domin… Array (/tag/array) Hash Table (/tag/hash-table) 45.7% Easy
Counting (/tag/counting)
110 Balanced Binary Tree (/proble… Tree (/tag/tree) Depth-First Search (/tag/depth-first-search) 45.4% Easy
819 Most Common Word (/proble… Hash Table (/tag/hash-table) String (/tag/string) 45.4% Easy
501 Find Mode in Binary Search T… Tree (/tag/tree) Depth-First Search (/tag/depth-first-search) 45.0% Easy
572 Subtree of Another Tree (/pro… Tree (/tag/tree) Depth-First Search (/tag/depth-first-search) 44.7% Easy
190 Reverse Bits (/problems/rever… Divide and Conquer (/tag/divide-and-conquer) 44.3% Easy
141 Linked List Cycle (/problems/li… Hash Table (/tag/hash-table) Linked List (/tag/linked-list) 43.8% Easy
716 Max Stack (/problems/max-st… Linked List (/tag/linked-list) Stack (/tag/stack) 43.8% Easy
Design (/tag/design) Doubly-Linked List (/tag/doubly-linked-list)
234 Palindrome Linked List (/probl… Linked List (/tag/linked-list) Two Pointers (/tag/two-pointers) 43.7% Easy
112 Path Sum (/problems/path-sum) Tree (/tag/tree) Depth-First Search (/tag/depth-first-search) 43.5% Easy
671 Second Minimum Node In a B… Tree (/tag/tree) Depth-First Search (/tag/depth-first-search) 43.0% Easy
836 Rectangle Overlap (/problems… Math (/tag/math) Geometry (/tag/geometry) 42.8% Easy
35 Search Insert Position (/probl… Array (/tag/array) Binary Search (/tag/binary-search) 42.6% Easy
643 Maximum Average Subarray I… Array (/tag/array) Sliding Window (/tag/sliding-window) 42.5% Easy
367 Valid Perfect Square (/proble… Math (/tag/math) Binary Search (/tag/binary-search) 42.5% Easy
88 Merge Sorted Array (/problem… Array (/tag/array) Two Pointers (/tag/two-pointers) 41.5% Easy
Sorting (/tag/sorting)
205 Isomorphic Strings (/problems… Hash Table (/tag/hash-table) String (/tag/string) 41.4% Easy
645 Set Mismatch (/problems/set-… Array (/tag/array) Hash Table (/tag/hash-table) 40.9% Easy
111 Minimum Depth of Binary Tre… Tree (/tag/tree) Depth-First Search (/tag/depth-first-search) 40.8% Easy
203 Remove Linked List Elements… Linked List (/tag/linked-list) Recursion (/tag/recursion) 40.4% Easy
219 Contains Duplicate II (/proble… Array (/tag/array) Hash Table (/tag/hash-table) 39.7% Easy
125 Valid Palindrome (/problems/v… Two Pointers (/tag/two-pointers) String (/tag/string) 39.4% Easy
290 Word Pattern (/problems/wor… Hash Table (/tag/hash-table) String (/tag/string) 38.8% Easy
278 First Bad Version (/problems/f… Binary Search (/tag/binary-search) Interactive (/tag/interactive) 38.7% Easy
680 Valid Palindrome II (/problem… Two Pointers (/tag/two-pointers) String (/tag/string) 37.5% Easy
Greedy (/tag/greedy)
874 Walking Robot Simulation (/pr… Array (/tag/array) Simulation (/tag/simulation) 36.8% Easy
28 Implement strStr() (/problems/… Two Pointers (/tag/two-pointers) String (/tag/string) 35.8% Easy
204 Count Primes (/problems/cou… Array (/tag/array) Math (/tag/math) 32.8% Easy
Enumeration (/tag/enumeration)
605 Can Place Flowers (/problem… Array (/tag/array) Greedy (/tag/greedy) 31.6% Easy
https://leetcode.com/company/Amazon/ 10/47
11/08/2021 Amazon - LeetCode
414 Third Maximum Number (/pro… Array (/tag/array) Sorting (/tag/sorting) 30.8% Easy
# Title Tags Acceptance Difficulty Frequency
1270 All People Report to the Give… Database (/tag/database) 88.3% Medium
1285 Find the Start and End Numb… Database (/tag/database) 88.0% Medium
1302 Deepest Leaves Sum (/proble… Tree (/tag/tree) Depth-First Search (/tag/depth-first-search) 85.4% Medium
1315 Sum of Nodes with Even-Valu… Tree (/tag/tree) Depth-First Search (/tag/depth-first-search) 84.7% Medium
1038 Binary Search Tree to Greate… Tree (/tag/tree) Depth-First Search (/tag/depth-first-search) 83.4% Medium
535 Encode and Decode TinyURL… Hash Table (/tag/hash-table) String (/tag/string) 82.8% Medium
1490 Clone N-ary Tree (/problems/… Hash Table (/tag/hash-table) Tree (/tag/tree) 82.8% Medium
Depth-First Search (/tag/depth-first-search)
654 Maximum Binary Tree (/probl… Array (/tag/array) Divide and Conquer (/tag/divide-and-conquer) 82.2% Medium
1409 Queries on a Permutation Wit… Array (/tag/array) Binary Indexed Tree (/tag/binary-indexed-tree) 82.2% Medium
Simulation (/tag/simulation)
1329 Sort the Matrix Diagonally (/pr… Array (/tag/array) Sorting (/tag/sorting) Matrix (/tag/matrix) 81.4% Medium
1628 Design an Expression Tree W… Math (/tag/math) Stack (/tag/stack) Tree (/tag/tree) 81.2% Medium
Design (/tag/design) Binary Tree (/tag/binary-tree)
1485 Clone Binary Tree With Rand… Hash Table (/tag/hash-table) Tree (/tag/tree) 79.6% Medium
Depth-First Search (/tag/depth-first-search)
797 All Paths From Source to Tar… Backtracking (/tag/backtracking) 79.0% Medium
1676 Lowest Common Ancestor of … Tree (/tag/tree) Depth-First Search (/tag/depth-first-search) 78.8% Medium
Binary Tree (/tag/binary-tree)
763 Partition Labels (/problems/pa… Hash Table (/tag/hash-table) Two Pointers (/tag/two-pointers) 78.3% Medium
894 All Possible Full Binary Trees … Dynamic Programming (/tag/dynamic-programming) 78.3% Medium
1305 All Elements in Two Binary S… Tree (/tag/tree) Depth-First Search (/tag/depth-first-search) 78.2% Medium
339 Nested List Weight Sum (/pro… Depth-First Search (/tag/depth-first-search) 77.7% Medium
Breadth-First Search (/tag/breadth-first-search)
1382 Balance a Binary Search Tre… Divide and Conquer (/tag/divide-and-conquer) Greedy (/tag/greedy) 77.6% Medium
1381 Design a Stack With Increme… Array (/tag/array) Stack (/tag/stack) Design (/tag/design) 77.1% Medium
1650 Lowest Common Ancestor of … Hash Table (/tag/hash-table) Tree (/tag/tree) 76.9% Medium
Binary Tree (/tag/binary-tree)
1198 Find Smallest Common Elem… Array (/tag/array) Hash Table (/tag/hash-table) 76.3% Medium
Binary Search (/tag/binary-search) Matrix (/tag/matrix)
Counting (/tag/counting)
950 Reveal Cards In Increasing O… Array (/tag/array) Queue (/tag/queue) Sorting (/tag/sorting) 76.1% Medium
Simulation (/tag/simulation)
921 Minimum Add to Make Parent… String (/tag/string) Stack (/tag/stack) Greedy (/tag/greedy) 76.0% Medium
890 Find and Replace Pattern (/pr… Array (/tag/array) Hash Table (/tag/hash-table) String (/tag/string) 75.5% Medium
1613 Find the Missing IDs (/proble… Database (/tag/database) 75.5% Medium
1852 Distinct Numbers in Each Sub… Array (/tag/array) Hash Table (/tag/hash-table) 75.2% Medium
Sliding Window (/tag/sliding-window)
1347 Minimum Number of Steps to … Hash Table (/tag/hash-table) String (/tag/string) 75.1% Medium
1641 Count Sorted Vowel Strings (/… Dynamic Programming (/tag/dynamic-programming) 75.0% Medium
701 Insert into a Binary Search Tr… Tree (/tag/tree) Binary Search Tree (/tag/binary-search-tree) 74.9% Medium
1669 Merge In Between Linked List… Linked List (/tag/linked-list) 74.8% Medium
1325 Delete Leaves With a Given V… Hash Table (/tag/hash-table) Tree (/tag/tree) 74.4% Medium
861 Score After Flipping Matrix (/p… Array (/tag/array) Greedy (/tag/greedy) 74.2% Medium
https://leetcode.com/company/Amazon/ 12/47
11/08/2021 Amazon - LeetCode
86 Sco e te pp g at (/p Array (/tag/array) Greedy (/tag/greedy) % ed u
# Title Tags
Bit Manipulation (/tag/bit-manipulation) Matrix (/tag/matrix) Acceptance Difficulty Frequency
1314 Matrix Block Sum (/problems/… Array (/tag/array) Matrix (/tag/matrix) 74.1% Medium
Prefix Sum (/tag/prefix-sum)
366 Find Leaves of Binary Tree (/… Tree (/tag/tree) Depth-First Search (/tag/depth-first-search) 73.8% Medium
Binary Tree (/tag/binary-tree)
1104 Path In Zigzag Labelled Binar… Math (/tag/math) Tree (/tag/tree) Binary Tree (/tag/binary-tree) 73.8% Medium
Matrix (/tag/matrix)
1100 Find K-Length Substrings Wit… Hash Table (/tag/hash-table) String (/tag/string) 73.2% Medium
Sliding Window (/tag/sliding-window)
1472 Design Browser History (/pro… Array (/tag/array) Linked List (/tag/linked-list) Stack (/tag/stack) 73.0% Medium
1448 Count Good Nodes in Binary … Tree (/tag/tree) Depth-First Search (/tag/depth-first-search) 72.2% Medium
419 Battleships in a Board (/probl… Array (/tag/array) Depth-First Search (/tag/depth-first-search) 72.0% Medium
Matrix (/tag/matrix)
814 Binary Tree Pruning (/proble… Tree (/tag/tree) Depth-First Search (/tag/depth-first-search) 71.3% Medium
1286 Iterator for Combination (/pro… String (/tag/string) Backtracking (/tag/backtracking) 71.0% Medium
979 Distribute Coins in Binary Tre… Tree (/tag/tree) Depth-First Search (/tag/depth-first-search) 70.4% Medium
1026 Maximum Difference Betwee… Tree (/tag/tree) Depth-First Search (/tag/depth-first-search) 70.3% Medium
1310 XOR Queries of a Subarray (/… Array (/tag/array) Bit Manipulation (/tag/bit-manipulation) 70.2% Medium
1222 Queens That Can Attack the … Array (/tag/array) Matrix (/tag/matrix) Simulation (/tag/simulation) 70.1% Medium
442 Find All Duplicates in an Arra… Array (/tag/array) Hash Table (/tag/hash-table) 70.0% Medium
702 Search in a Sorted Array of U… Array (/tag/array) Binary Search (/tag/binary-search) 69.5% Medium
Interactive (/tag/interactive)
784 Letter Case Permutation (/pro… String (/tag/string) Backtracking (/tag/backtracking) 69.5% Medium
406 Queue Reconstruction by Hei… Array (/tag/array) Greedy (/tag/greedy) Sorting (/tag/sorting) 69.2% Medium
https://leetcode.com/company/Amazon/ 13/47
11/08/2021 Amazon - LeetCode
969 Pancake Sorting (/problems/p… Array (/tag/array) Two Pointers (/tag/two-pointers) 69.1% Medium
1740 Find Distance in a Binary Tre… Hash Table (/tag/hash-table) Tree (/tag/tree) 68.9% Medium
Depth-First Search (/tag/depth-first-search)
537 Complex Number Multiplicatio… Math (/tag/math) String (/tag/string) Simulation (/tag/simulation) 68.6% Medium
889 Construct Binary Tree from Pr… Array (/tag/array) Hash Table (/tag/hash-table) 68.5% Medium
1457 Pseudo-Palindromic Paths in … Bit Manipulation (/tag/bit-manipulation) Tree (/tag/tree) 68.5% Medium
1110 Delete Nodes And Return For… Tree (/tag/tree) Depth-First Search (/tag/depth-first-search) 68.4% Medium
877 Stone Game (/problems/ston… Array (/tag/array) Math (/tag/math) 68.3% Medium
Dynamic Programming (/tag/dynamic-programming)
1130 Minimum Cost Tree From Lea… Dynamic Programming (/tag/dynamic-programming) 68.0% Medium
Stack (/tag/stack) Greedy (/tag/greedy)
429 N-ary Tree Level Order Trave… Tree (/tag/tree) Breadth-First Search (/tag/breadth-first-search) 67.9% Medium
1045 Customers Who Bought All Pr… Database (/tag/database) 67.7% Medium
1214 Two Sum BSTs (/problems/tw… Two Pointers (/tag/two-pointers) Binary Search (/tag/binary-search) 67.5% Medium
Stack (/tag/stack) Tree (/tag/tree)
1161 Maximum Level Sum of a Bin… Tree (/tag/tree) Breadth-First Search (/tag/breadth-first-search) 67.5% Medium
Backtracking (/tag/backtracking)
#
Title Tags Acceptance Difficulty Frequency
841 Keys and Rooms (/problems/… Depth-First Search (/tag/depth-first-search) 67.2% Medium
791 Custom Sort String (/problem… Hash Table (/tag/hash-table) String (/tag/string) 67.1% Medium
Sorting (/tag/sorting)
695 Max Area of Island (/problem… Array (/tag/array) Depth-First Search (/tag/depth-first-search) 67.1% Medium
1244 Design A Leaderboard (/probl… Hash Table (/tag/hash-table) Design (/tag/design) 67.0% Medium
Sorting (/tag/sorting)
1721 Swapping Nodes in a Linked … Linked List (/tag/linked-list) Two Pointers (/tag/two-pointers) 66.3% Medium
362 Design Hit Counter (/problem… Array (/tag/array) Hash Table (/tag/hash-table) 66.2% Medium
Binary Search (/tag/binary-search) Design (/tag/design)
Queue (/tag/queue)
951 Flip Equivalent Binary Trees (… Tree (/tag/tree) Depth-First Search (/tag/depth-first-search) 66.2% Medium
1219 Path with Maximum Gold (/pr… Array (/tag/array) Backtracking (/tag/backtracking) 66.2% Medium
Matrix (/tag/matrix)
739 Daily Temperatures (/problem… Array (/tag/array) Stack (/tag/stack) 65.7% Medium
260 Single Number III (/problems/… Array (/tag/array) Bit Manipulation (/tag/bit-manipulation) 65.7% Medium
1167 Minimum Cost to Connect Sti… Array (/tag/array) Greedy (/tag/greedy) 65.7% Medium
Heap (Priority Queue) (/tag/heap-priority-queue)
1268 Search Suggestions System (… Array (/tag/array) String (/tag/string) Trie (/tag/trie) 65.6% Medium
451 Sort Characters By Frequenc… Hash Table (/tag/hash-table) String (/tag/string) 65.5% Medium
Sorting (/tag/sorting)
1772 Sort Features by Popularity (/… Array (/tag/array) Hash Table (/tag/hash-table) String (/tag/string) 65.5% Medium
Sorting (/tag/sorting)
973 K Closest Points to Origin (/pr… Array (/tag/array) Math (/tag/math) 65.3% Medium
Quickselect (/tag/quickselect)
280 Wiggle Sort (/problems/wiggle… Array (/tag/array) Greedy (/tag/greedy) Sorting (/tag/sorting) 65.2% Medium
856 Score of Parentheses (/proble… String (/tag/string) Stack (/tag/stack) 65.2% Medium
364 Nested List Weight Sum II (/p… Stack (/tag/stack) Depth-First Search (/tag/depth-first-search) 65.2% Medium
Breadth-First Search (/tag/breadth-first-search)
1236 Web Crawler (/problems/web-… String (/tag/string) Depth-First Search (/tag/depth-first-search) 65.1% Medium
Breadth-First Search (/tag/breadth-first-search)
Interactive (/tag/interactive)
https://leetcode.com/company/Amazon/ 15/47
11/08/2021 Amazon - LeetCode
Matrix (/tag/matrix)
1190 Reverse Substrings Between … String (/tag/string) Stack (/tag/stack) 65.0% Medium
311 Sparse Matrix Multiplication (/… Array (/tag/array) Hash Table (/tag/hash-table) 64.7% Medium
Matrix (/tag/matrix)
1249 Minimum Remove to Make V… String (/tag/string) Stack (/tag/stack) 64.7% Medium
946 Validate Stack Sequences (/p… Array (/tag/array) Stack (/tag/stack) Simulation (/tag/simulation) 64.6% Medium
582 Kill Process (/problems/kill-pr… Array (/tag/array) Hash Table (/tag/hash-table) Tree (/tag/tree) 64.6% Medium
Depth-First Search (/tag/depth-first-search)
1120 Maximum Average Subtree (/… Tree (/tag/tree) Depth-First Search (/tag/depth-first-search) 64.6% Medium
Binary Tree (/tag/binary-tree)
230 Kth Smallest Element in a BS… Tree (/tag/tree) Depth-First Search (/tag/depth-first-search) 64.3% Medium
1233 Remove Sub-Folders from th… Array (/tag/array) String (/tag/string) Trie (/tag/trie) 63.6% Medium
1558 Minimum Numbers of Functio… Array (/tag/array) Greedy (/tag/greedy) 63.6% Medium
1087 Brace Expansion (/problems/… String (/tag/string) Backtracking (/tag/backtracking) 63.6% Medium
Breadth-First Search (/tag/breadth-first-search)
912 Sort an Array (/problems/sort-… Array (/tag/array) Divide and Conquer (/tag/divide-and-conquer) 63.5% Medium
Sorting (/tag/sorting)
427 Construct Quad Tree (/proble… Array (/tag/array) Divide and Conquer (/tag/divide-and-conquer) 63.5% Medium
1247 Minimum Swaps to Make Stri… Math (/tag/math) String (/tag/string) Greedy (/tag/greedy) 63.3% Medium
347 Top K Frequent Elements (/pr… Array (/tag/array) Hash Table (/tag/hash-table) 63.2% Medium
Quickselect (/tag/quickselect)
609 Find Duplicate File in System … Array (/tag/array) Hash Table (/tag/hash-table) String (/tag/string) 63.1% Medium
983 Minimum Cost For Tickets (/p… Array (/tag/array) 63.1% Medium
Dynamic Programming (/tag/dynamic-programming)
515 Find Largest Value in Each Tr… Tree (/tag/tree) Depth-First Search (/tag/depth-first-search) 63.1% Medium
48 Rotate Image (/problems/rotat… Array (/tag/array) Math (/tag/math) Matrix (/tag/matrix) 62.8% Medium
529 Minesweeper (/problems/min… Array (/tag/array) Depth-First Search (/tag/depth-first-search) 62.6% Medium
Backtracking (/tag/backtracking)
426 Convert Binary Search Tree t… Linked List (/tag/linked-list) Stack (/tag/stack) Tree (/tag/tree) 62.5% Medium
Depth-First Search (/tag/depth-first-search)
1254 Number of Closed Islands (/pr… Array (/tag/array) Depth-First Search (/tag/depth-first-search) 62.4% Medium
173 Binary Search Tree Iterator (/… Stack (/tag/stack) Tree (/tag/tree) Design (/tag/design) 62.1% Medium
238 Product of Array Except Self (… Array (/tag/array) Prefix Sum (/tag/prefix-sum) 62.0% Medium
901 Online Stock Span (/problems… Stack (/tag/stack) Design (/tag/design) 62.0% Medium
1600 Throne Inheritance (/problem… Hash Table (/tag/hash-table) Tree (/tag/tree) 61.9% Medium
216 Combination Sum III (/proble… Array (/tag/array) Backtracking (/tag/backtracking) 61.8% Medium
1245 Tree Diameter (/problems/tre… Tree (/tag/tree) Depth-First Search (/tag/depth-first-search) 61.7% Medium
Breadth-First Search (/tag/breadth-first-search)
1306 Jump Game III (/problems/ju… Array (/tag/array) Depth-First Search (/tag/depth-first-search) 61.6% Medium
1466 Reorder Routes to Make All P… Depth-First Search (/tag/depth-first-search) 61.6% Medium
49 Group Anagrams (/problems/… Hash Table (/tag/hash-table) String (/tag/string) 61.1% Medium
Sorting (/tag/sorting)
538 Convert BST to Greater Tree … Tree (/tag/tree) Depth-First Search (/tag/depth-first-search) 61.0% Medium
1004 Max Consecutive Ones III (/pr… Array (/tag/array) Binary Search (/tag/binary-search) 61.0% Medium
1011 Capacity To Ship Packages … Array (/tag/array) Binary Search (/tag/binary-search) 61.0% Medium
Greedy (/tag/greedy)
635 Design Log Storage System (… Hash Table (/tag/hash-table) String (/tag/string) 60.9% Medium
Design (/tag/design) Ordered Set (/tag/ordered-set)
1451 Rearrange Words in a Senten… String (/tag/string) Sorting (/tag/sorting) 60.8% Medium
https://leetcode.com/company/Amazon/ 17/47
11/08/2021 Amazon - LeetCode
1170 Compare Strings by Frequen… Array (/tag/array) Hash Table (/tag/hash-table) String (/tag/string) 60.6% Medium
# Title Tags Acceptance Difficulty Frequency
Binary Search (/tag/binary-search) Sorting (/tag/sorting)
508 Most Frequent Subtree Sum (… Hash Table (/tag/hash-table) Tree (/tag/tree) 60.5% Medium
1136 Parallel Courses (/problems/p… Graph (/tag/graph) Topological Sort (/tag/topological-sort) 60.5% Medium
215 Kth Largest Element in an Arr… Array (/tag/array) Divide and Conquer (/tag/divide-and-conquer) 60.4% Medium
Sorting (/tag/sorting)
Quickselect (/tag/quickselect)
289 Game of Life (/problems/gam… Array (/tag/array) Matrix (/tag/matrix) Simulation (/tag/simulation) 60.3% Medium
648 Replace Words (/problems/re… Array (/tag/array) Hash Table (/tag/hash-table) String (/tag/string) 60.2% Medium
Trie (/tag/trie)
1135 Connecting Cities With Minim… Union Find (/tag/union-find) Graph (/tag/graph) 60.1% Medium
Heap (Priority Queue) (/tag/heap-priority-queue)
503 Next Greater Element II (/pro… Array (/tag/array) Stack (/tag/stack) 59.9% Medium
369 Plus One Linked List (/proble… Linked List (/tag/linked-list) Math (/tag/math) 59.8% Medium
249 Group Shifted Strings (/proble… Array (/tag/array) Hash Table (/tag/hash-table) String (/tag/string) 59.6% Medium
1094 Car Pooling (/problems/car-p… Array (/tag/array) Sorting (/tag/sorting) 59.6% Medium
59 Spiral Matrix II (/problems/spir… Array (/tag/array) Matrix (/tag/matrix) Simulation (/tag/simulation) 59.4% Medium
1166 Design File System (/problem… Hash Table (/tag/hash-table) String (/tag/string) 59.1% Medium
Design (/tag/design) Trie (/tag/trie)
602 Friend Requests II: Who Has … Database (/tag/database) 59.1% Medium
1258 Synonymous Sentences (/pro… Array (/tag/array) Hash Table (/tag/hash-table) String (/tag/string) 59.1% Medium
Backtracking (/tag/backtracking) Union Find (/tag/union-find)
https://leetcode.com/company/Amazon/ 18/47
11/08/2021 Amazon - LeetCode
#
1151 Title
Minimum Swaps to Group All … Tags Acceptance
59.1% Difficulty
Medium
Frequency
Array (/tag/array) Sliding Window (/tag/sliding-window)
863 All Nodes Distance K in Binar… Tree (/tag/tree) Depth-First Search (/tag/depth-first-search) 59.0% Medium
714 Best Time to Buy and Sell Sto… Array (/tag/array) 59.0% Medium
Dynamic Programming (/tag/dynamic-programming)
Greedy (/tag/greedy)
1019 Next Greater Node In Linked … Array (/tag/array) Linked List (/tag/linked-list) Stack (/tag/stack) 59.0% Medium
1062 Longest Repeating Substring … String (/tag/string) Binary Search (/tag/binary-search) 58.9% Medium
Dynamic Programming (/tag/dynamic-programming)
694 Number of Distinct Islands (/p… Hash Table (/tag/hash-table) 58.7% Medium
Depth-First Search (/tag/depth-first-search)
241 Different Ways to Add Parent… Math (/tag/math) String (/tag/string) 58.7% Medium
1029 Two City Scheduling (/proble… Array (/tag/array) Greedy (/tag/greedy) Sorting (/tag/sorting) 58.7% Medium
102 Binary Tree Level Order Trav… Tree (/tag/tree) Breadth-First Search (/tag/breadth-first-search) 58.4% Medium
287 Find the Duplicate Number (/… Array (/tag/array) Two Pointers (/tag/two-pointers) 58.1% Medium
540 Single Element in a Sorted Ar… Array (/tag/array) Binary Search (/tag/binary-search) 58.0% Medium
328 Odd Even Linked List (/proble… Linked List (/tag/linked-list) 58.0% Medium
378 Kth Smallest Element in a Sor… Array (/tag/array) Binary Search (/tag/binary-search) 58.0% Medium
Sorting (/tag/sorting)
Matrix (/tag/matrix)
553 Optimal Division (/problems/o… Array (/tag/array) Math (/tag/math) 58.0% Medium
1057 Campus Bikes (/problems/ca… Array (/tag/array) Greedy (/tag/greedy) Sorting (/tag/sorting) 58.0% Medium
12 Integer to Roman (/problems/i… Hash Table (/tag/hash-table) Math (/tag/math) String (/tag/string) 57.9% Medium
1267 Count Servers that Communi… Array (/tag/array) Depth-First Search (/tag/depth-first-search) 57.9% Medium
Counting (/tag/counting)
1333 Filter Restaurants by Vegan-F… Array (/tag/array) Sorting (/tag/sorting) 57.9% Medium
https://leetcode.com/company/Amazon/ 19/47
11/08/2021 Amazon - LeetCode
#
1734 Title
Decode XORed Permutation (… Tags Acceptance
57.9% Difficulty
Medium
Frequency
Array (/tag/array) Bit Manipulation (/tag/bit-manipulation)
1288 Remove Covered Intervals (/p… Array (/tag/array) Sorting (/tag/sorting) 57.7% Medium
199 Binary Tree Right Side View (… Tree (/tag/tree) Depth-First Search (/tag/depth-first-search) 57.5% Medium
430 Flatten a Multilevel Doubly Li… Linked List (/tag/linked-list) 57.5% Medium
1376 Time Needed to Inform All E… Tree (/tag/tree) Depth-First Search (/tag/depth-first-search) 57.5% Medium
Matrix (/tag/matrix)
286 Walls and Gates (/problems/… Array (/tag/array) Breadth-First Search (/tag/breadth-first-search) 57.4% Medium
Matrix (/tag/matrix)
776 Split BST (/problems/split-bst) Tree (/tag/tree) Binary Search Tree (/tag/binary-search-tree) 57.4% Medium
Recursion (/tag/recursion) Binary Tree (/tag/binary-tree)
445 Add Two Numbers II (/proble… Linked List (/tag/linked-list) Math (/tag/math) Stack (/tag/stack) 57.3% Medium
Combinatorics (/tag/combinatorics)
1584 Min Cost to Connect All Point… Array (/tag/array) Union Find (/tag/union-find) 57.2% Medium
1248 Count Number of Nice Subarr… Array (/tag/array) Hash Table (/tag/hash-table) Math (/tag/math) 57.1% Medium
341 Flatten Nested List Iterator (/p… Stack (/tag/stack) Tree (/tag/tree) 56.8% Medium
1481 Least Number of Unique Inte… Array (/tag/array) Hash Table (/tag/hash-table) 56.8% Medium
Counting (/tag/counting)
1209 Remove All Adjacent Duplicat… String (/tag/string) Stack (/tag/stack) 56.7% Medium
636 Exclusive Time of Functions (… Array (/tag/array) Stack (/tag/stack) 56.6% Medium
107 Binary Tree Level Order Trav… Tree (/tag/tree) Breadth-First Search (/tag/breadth-first-search) 56.6% Medium
https://leetcode.com/company/Amazon/ 20/47
11/08/2021 Amazon - LeetCode
641 Design Circular Deque (/probl… Array (/tag/array) Linked List (/tag/linked-list) 56.6% Medium
348 Design Tic-Tac-Toe (/problem… Array (/tag/array) Hash Table (/tag/hash-table) 56.5% Medium
Design (/tag/design) Matrix (/tag/matrix)
1048 Longest String Chain (/proble… Array (/tag/array) Hash Table (/tag/hash-table) 56.4% Medium
Two Pointers (/tag/two-pointers) String (/tag/string)
244 Shortest Word Distance II (/pr… Array (/tag/array) Hash Table (/tag/hash-table) 56.2% Medium
Two Pointers (/tag/two-pointers) String (/tag/string)
Design (/tag/design)
756 Pyramid Transition Matrix (/pr… Bit Manipulation (/tag/bit-manipulation) 56.0% Medium
1456 Maximum Number of Vowels i… String (/tag/string) Sliding Window (/tag/sliding-window) 56.0% Medium
947 Most Stones Removed with S… Depth-First Search (/tag/depth-first-search) 56.0% Medium
1372 Longest ZigZag Path in a Bin… Dynamic Programming (/tag/dynamic-programming) 55.9% Medium
1647 Minimum Deletions to Make … String (/tag/string) Greedy (/tag/greedy) Sorting (/tag/sorting) 55.8% Medium
399 Evaluate Division (/problems/… Array (/tag/array) Depth-First Search (/tag/depth-first-search) 55.4% Medium
1060 Missing Element in Sorted Arr… Array (/tag/array) Binary Search (/tag/binary-search) 55.4% Medium
1846 Maximum Element After Decr… Array (/tag/array) Greedy (/tag/greedy) Sorting (/tag/sorting) 55.4% Medium
384 Shuffle an Array (/problems/s… Array (/tag/array) Math (/tag/math) 55.3% Medium
Randomized (/tag/randomized)
454 4Sum II (/problems/4sum-ii) Array (/tag/array) Hash Table (/tag/hash-table) 55.2% Medium
1730 Shortest Path to Get Food (/p… Array (/tag/array) Breadth-First Search (/tag/breadth-first-search) 55.2% Medium
Matrix (/tag/matrix)
137 Single Number II (/problems/s… Array (/tag/array) Bit Manipulation (/tag/bit-manipulation) 55.0% Medium
https://leetcode.com/company/Amazon/ 21/47
11/08/2021 Amazon - LeetCode
449 Serialize and Deserialize BST… String (/tag/string) Tree (/tag/tree) 55.0% Medium
820 Short Encoding of Words (/pr… Array (/tag/array) Hash Table (/tag/hash-table) String (/tag/string) 55.0% Medium
Trie (/tag/trie)
421 Maximum XOR of Two Numb… Array (/tag/array) Hash Table (/tag/hash-table) 54.9% Medium
382 Linked List Random Node (/pr… Linked List (/tag/linked-list) Math (/tag/math) 54.8% Medium
Randomized (/tag/randomized)
752 Open the Lock (/problems/op… Array (/tag/array) Hash Table (/tag/hash-table) String (/tag/string) 54.8% Medium
Backtracking (/tag/backtracking)
1041 Robot Bounded In Circle (/pro… Math (/tag/math) String (/tag/string) Simulation (/tag/simulation) 54.7% Medium
1670 Design Front Middle Back Qu… Array (/tag/array) Linked List (/tag/linked-list) 54.7% Medium
114 Flatten Binary Tree to Linked … Linked List (/tag/linked-list) Stack (/tag/stack) Tree (/tag/tree) 54.6% Medium
1229 Meeting Scheduler (/problem… Array (/tag/array) Two Pointers (/tag/two-pointers) 54.6% Medium
Sorting (/tag/sorting)
105 Construct Binary Tree from Pr… Array (/tag/array) Hash Table (/tag/hash-table) 54.5% Medium
Backtracking (/tag/backtracking)
729 My Calendar I (/problems/my-… Design (/tag/design) Segment Tree (/tag/segment-tree) 54.3% Medium
652 Find Duplicate Subtrees (/pro… Tree (/tag/tree) Depth-First Search (/tag/depth-first-search) 54.1% Medium
208 Implement Trie (Prefix Tree) (… Hash Table (/tag/hash-table) String (/tag/string) 54.1% Medium
https://leetcode.com/company/Amazon/ 22/47
11/08/2021 Amazon - LeetCode
#
981 Title
Time Based Key-Value Store … Tags
Hash Table (/tag/hash-table) String (/tag/string) Acceptance
54.0% Difficulty
Medium Frequency
394 Decode String (/problems/dec… String (/tag/string) Stack (/tag/stack) Recursion (/tag/recursion) 53.9% Medium
875 Koko Eating Bananas (/proble… Array (/tag/array) Binary Search (/tag/binary-search) 53.9% Medium
725 Split Linked List in Parts (/pro… Linked List (/tag/linked-list) 53.8% Medium
250 Count Univalue Subtrees (/pr… Tree (/tag/tree) Depth-First Search (/tag/depth-first-search) 53.8% Medium
Binary Tree (/tag/binary-tree)
1081 Smallest Subsequence of Dis… String (/tag/string) Stack (/tag/stack) Greedy (/tag/greedy) 53.8% Medium
851 Loud and Rich (/problems/lou… Array (/tag/array) Depth-First Search (/tag/depth-first-search) 53.7% Medium
1533 Find the Index of the Large In… Array (/tag/array) Binary Search (/tag/binary-search) 53.7% Medium
Interactive (/tag/interactive)
692 Top K Frequent Words (/probl… Hash Table (/tag/hash-table) String (/tag/string) Trie (/tag/trie) 53.6% Medium
Sorting (/tag/sorting)
1405 Longest Happy String (/proble… String (/tag/string) Greedy (/tag/greedy) 53.5% Medium
536 Construct Binary Tree from St… String (/tag/string) Tree (/tag/tree) 53.4% Medium
Depth-First Search (/tag/depth-first-search)
721 Accounts Merge (/problems/a… Array (/tag/array) String (/tag/string) 53.4% Medium
963 Minimum Area Rectangle II (/… Array (/tag/array) Math (/tag/math) Geometry (/tag/geometry) 53.4% Medium
1410 HTML Entity Parser (/problem… Hash Table (/tag/hash-table) String (/tag/string) 53.4% Medium
621 Task Scheduler (/problems/ta… Array (/tag/array) Hash Table (/tag/hash-table) 53.2% Medium
Counting (/tag/counting)
11 Container With Most Water (/… Array (/tag/array) Two Pointers (/tag/two-pointers) 53.1% Medium
Greedy (/tag/greedy)
1764 Form Array by Concatenating… Array (/tag/array) Greedy (/tag/greedy) 53.1% Medium
https://leetcode.com/company/Amazon/ 23/47
11/08/2021 Amazon - LeetCode
6 o ay by Co cate at g Array (/tag/array) Greedy (/tag/greedy) 53 % ed u
# Title Tags
String Matching (/tag/string-matching) Acceptance Difficulty Frequency
109 Convert Sorted List to Binary … Linked List (/tag/linked-list) 53.0% Medium
129 Sum Root to Leaf Numbers (/… Tree (/tag/tree) Depth-First Search (/tag/depth-first-search) 52.8% Medium
916 Word Subsets (/problems/wor… Array (/tag/array) Hash Table (/tag/hash-table) String (/tag/string) 52.8% Medium
958 Check Completeness of a Bin… Tree (/tag/tree) Breadth-First Search (/tag/breadth-first-search) 52.7% Medium
939 Minimum Area Rectangle (/pr… Array (/tag/array) Hash Table (/tag/hash-table) Math (/tag/math) 52.7% Medium
539 Minimum Time Difference (/pr… Array (/tag/array) Math (/tag/math) String (/tag/string) 52.7% Medium
Sorting (/tag/sorting)
1634 Add Two Polynomials Repres… Linked List (/tag/linked-list) Math (/tag/math) 52.7% Medium
Two Pointers (/tag/two-pointers)
337 House Robber III (/problems/… Dynamic Programming (/tag/dynamic-programming) 52.2% Medium
1680 Concatenation of Consecutiv… Math (/tag/math) Bit Manipulation (/tag/bit-manipulation) 52.2% Medium
Simulation (/tag/simulation)
498 Diagonal Traverse (/problems… Array (/tag/array) Matrix (/tag/matrix) Simulation (/tag/simulation) 52.1% Medium
833 Find And Replace in String (/… Array (/tag/array) String (/tag/string) Sorting (/tag/sorting) 52.1% Medium
740 Delete and Earn (/problems/d… Array (/tag/array) Hash Table (/tag/hash-table) 52.0% Medium
Dynamic Programming (/tag/dynamic-programming)
1053 Previous Permutation With O… Array (/tag/array) Greedy (/tag/greedy) 52.0% Medium
795 Number of Subarrays with Bo… Array (/tag/array) Two Pointers (/tag/two-pointers) 52.0% Medium
36 Valid Sudoku (/problems/valid… Array (/tag/array) Hash Table (/tag/hash-table) 51.9% Medium
Matrix (/tag/matrix)
284 Peeking Iterator (/problems/p… Array (/tag/array) Design (/tag/design) Iterator (/tag/iterator) 51.9% Medium
731 My Calendar II (/problems/my… Design (/tag/design) Segment Tree (/tag/segment-tree) 51.9% Medium
974 Subarray Sums Divisible by K… Array (/tag/array) Hash Table (/tag/hash-table) 51.9% Medium
1954 Minimum Garden Perimeter t… Math (/tag/math) Binary Search (/tag/binary-search) 51.9% Medium
1138 Alphabet Board Path (/proble… Hash Table (/tag/hash-table) String (/tag/string) 51.8% Medium
106 Construct Binary Tree from In… Array (/tag/array) Hash Table (/tag/hash-table) 51.7% Medium
966 Vowel Spellchecker (/problem… Array (/tag/array) Hash Table (/tag/hash-table) String (/tag/string) 51.7% Medium
https://leetcode.com/company/Amazon/ 24/47
11/08/2021 Amazon - LeetCode
236 Lowest Common Ancestor of … Tree (/tag/tree) Depth-First Search (/tag/depth-first-search) 51.5% Medium
113 Path Sum II (/problems/path-s… Backtracking (/tag/backtracking) Tree (/tag/tree) 51.5% Medium
103 Binary Tree Zigzag Level Ord… Tree (/tag/tree) Breadth-First Search (/tag/breadth-first-search) 51.4% Medium
116 Populating Next Right Pointer… Tree (/tag/tree) Depth-First Search (/tag/depth-first-search) 51.4% Medium
1010 Pairs of Songs With Total Dur… Array (/tag/array) Hash Table (/tag/hash-table) 51.4% Medium
Counting (/tag/counting)
1102 Path With Maximum Minimum… Array (/tag/array) Depth-First Search (/tag/depth-first-search) 51.4% Medium
Breadth-First Search (/tag/breadth-first-search)
Matrix (/tag/matrix)
75 Sort Colors (/problems/sort-c… Array (/tag/array) Two Pointers (/tag/two-pointers) 51.3% Medium
Sorting (/tag/sorting)
222 Count Complete Tree Nodes … Binary Search (/tag/binary-search) Tree (/tag/tree) 51.3% Medium
159 Longest Substring with At Mo… Hash Table (/tag/hash-table) String (/tag/string) 51.3% Medium
Sliding Window (/tag/sliding-window)
1552 Magnetic Force Between Two… Array (/tag/array) Binary Search (/tag/binary-search) 51.3% Medium
Sorting (/tag/sorting)
1283 Find the Smallest Divisor Giv… Array (/tag/array) Binary Search (/tag/binary-search) 51.2% Medium
1950 Maximum of Minimum Values… Array (/tag/array) Stack (/tag/stack) 51.2% Medium
Monotonic Stack (/tag/monotonic-stack)
17 Letter Combinations of a Pho… Hash Table (/tag/hash-table) String (/tag/string) 51.1% Medium
Backtracking (/tag/backtracking)
718 Maximum Length of Repeate… Array (/tag/array) Binary Search (/tag/binary-search) 51.1% Medium
200 Number of Islands (/problems… Array (/tag/array) Depth-First Search (/tag/depth-first-search) 50.9% Medium
https://leetcode.com/company/Amazon/ 25/47
11/08/2021 Amazon - LeetCode
1007 Minimum Domino Rotations F… Array (/tag/array) Greedy (/tag/greedy) 50.9% Medium
767 Reorganize String (/problems/… Hash Table (/tag/hash-table) String (/tag/string) 50.8% Medium
Counting (/tag/counting)
802 Find Eventual Safe States (/p… Depth-First Search (/tag/depth-first-search) 50.8% Medium
1429 First Unique Number (/proble… Array (/tag/array) Hash Table (/tag/hash-table) 50.7% Medium
Design (/tag/design) Queue (/tag/queue)
1080 Insufficient Nodes in Root to … Tree (/tag/tree) Depth-First Search (/tag/depth-first-search) 50.6% Medium
1239 Maximum Length of a Concat… Array (/tag/array) String (/tag/string) 50.5% Medium
Backtracking (/tag/backtracking)
452 Minimum Number of Arrows t… Array (/tag/array) Greedy (/tag/greedy) Sorting (/tag/sorting) 50.4% Medium
1404 Number of Steps to Reduce a… String (/tag/string) Bit Manipulation (/tag/bit-manipulation) 50.3% Medium
351 Android Unlock Patterns (/pro… Dynamic Programming (/tag/dynamic-programming) 50.2% Medium
Backtracking (/tag/backtracking)
1070 Product Sales Analysis III (/pr… Database (/tag/database) 50.1% Medium
994 Rotting Oranges (/problems/r… Array (/tag/array) Breadth-First Search (/tag/breadth-first-search) 50.0% Medium
Matrix (/tag/matrix)
720 Longest Word in Dictionary (/… Array (/tag/array) Hash Table (/tag/hash-table) String (/tag/string) 49.9% Medium
380 Insert Delete GetRandom O(1… Array (/tag/array) Hash Table (/tag/hash-table) Math (/tag/math) 49.8% Medium
1202 Smallest String With Swaps (/… Hash Table (/tag/hash-table) String (/tag/string) 49.8% Medium
k li d
https://leetcode.com/company/Amazon/ (/ bl 26/47
11/08/2021 Amazon - LeetCode
1328 Break a Palindrome (/problem… String (/tag/string) Greedy (/tag/greedy) 49.6% Medium
# Title Tags Acceptance Difficulty Frequency
486 Predict the Winner (/problems… Array (/tag/array) Math (/tag/math) 49.4% Medium
Dynamic Programming (/tag/dynamic-programming)
881 Boats to Save People (/proble… Array (/tag/array) Two Pointers (/tag/two-pointers) 49.3% Medium
424 Longest Repeating Character… Hash Table (/tag/hash-table) String (/tag/string) 49.3% Medium
309 Best Time to Buy and Sell Sto… Array (/tag/array) 49.2% Medium
Dynamic Programming (/tag/dynamic-programming)
Greedy (/tag/greedy)
792 Number of Matching Subsequ… Hash Table (/tag/hash-table) String (/tag/string) Trie (/tag/trie) 49.1% Medium
Sorting (/tag/sorting)
298 Binary Tree Longest Consecu… Tree (/tag/tree) Depth-First Search (/tag/depth-first-search) 49.0% Medium
Binary Tree (/tag/binary-tree)
611 Valid Triangle Number (/probl… Array (/tag/array) Two Pointers (/tag/two-pointers) 49.0% Medium
Sorting (/tag/sorting)
1027 Longest Arithmetic Subseque… Array (/tag/array) Hash Table (/tag/hash-table) 49.0% Medium
Binary Search (/tag/binary-search)
Matrix (/tag/matrix)
437 Path Sum III (/problems/path-… Tree (/tag/tree) Depth-First Search (/tag/depth-first-search) 48.8% Medium
1423 Maximum Points You Can Ob… Array (/tag/array) Sliding Window (/tag/sliding-window) 48.8% Medium
1792 Maximum Average Pass Rati… Array (/tag/array) Greedy (/tag/greedy) 48.6% Medium
873 Length of Longest Fibonacci … Array (/tag/array) Hash Table (/tag/hash-table) 48.4% Medium
186 Reverse Words in a String II (… Two Pointers (/tag/two-pointers) String (/tag/string) 48.3% Medium
314 Binary Tree Vertical Order Tra… Hash Table (/tag/hash-table) Tree (/tag/tree) 48.2% Medium
Depth-First Search (/tag/depth-first-search)
148 Sort List (/problems/sort-list) Linked List (/tag/linked-list) Two Pointers (/tag/two-pointers) 48.2% Medium
Matrix (/tag/matrix)
1242 Web Crawler Multithreaded (/… Depth-First Search (/tag/depth-first-search) 48.1% Medium
Breadth-First Search (/tag/breadth-first-search)
Concurrency (/tag/concurrency)
622 Design Circular Queue (/probl… Array (/tag/array) Linked List (/tag/linked-list) 48.0% Medium
325 Maximum Size Subarray Sum… Array (/tag/array) Hash Table (/tag/hash-table) 48.0% Medium
253 Meeting Rooms II (/problems/… Array (/tag/array) Two Pointers (/tag/two-pointers) 47.9% Medium
Greedy (/tag/greedy) Sorting (/tag/sorting)
1155 Number of Dice Rolls With Ta… Dynamic Programming (/tag/dynamic-programming) 47.7% Medium
128 Longest Consecutive Sequen… Array (/tag/array) Hash Table (/tag/hash-table) 47.6% Medium
945 Minimum Increment to Make … Array (/tag/array) Greedy (/tag/greedy) Sorting (/tag/sorting) 47.6% Medium
Counting (/tag/counting)
313 Super Ugly Number (/problem… Array (/tag/array) Hash Table (/tag/hash-table) Math (/tag/math) 47.3% Medium
737 Sentence Similarity II (/proble… Array (/tag/array) Hash Table (/tag/hash-table) String (/tag/string) 47.1% Medium
Depth-First Search (/tag/depth-first-search)
1156 Swap For Longest Repeated … String (/tag/string) Sliding Window (/tag/sliding-window) 47.1% Medium
153 Find Minimum in Rotated Sort… Array (/tag/array) Binary Search (/tag/binary-search) 46.8% Medium
16 3Sum Closest (/problems/3su… Array (/tag/array) Two Pointers (/tag/two-pointers) 46.7% Medium
Sorting (/tag/sorting)
1673 Find the Most Competitive Su… Array (/tag/array) Stack (/tag/stack) Greedy (/tag/greedy) 46.7% Medium
https://leetcode.com/company/Amazon/ 28/47
11/08/2021 Amazon - LeetCode
#
300 Title
Longest Increasing Subseque… Tags
Array (/tag/array) Binary Search (/tag/binary-search) Acceptance
46.4% Difficulty
Medium Frequency
Dynamic Programming (/tag/dynamic-programming)
743 Network Delay Time (/proble… Depth-First Search (/tag/depth-first-search) 46.4% Medium
1034 Coloring A Border (/problems/… Array (/tag/array) Depth-First Search (/tag/depth-first-search) 46.4% Medium
450 Delete Node in a BST (/probl… Tree (/tag/tree) Binary Search Tree (/tag/binary-search-tree) 46.3% Medium
340 Longest Substring with At Mo… Hash Table (/tag/hash-table) String (/tag/string) 46.3% Medium
Sliding Window (/tag/sliding-window)
240 Search a 2D Matrix II (/proble… Array (/tag/array) Binary Search (/tag/binary-search) 46.3% Medium
681 Next Closest Time (/problems… String (/tag/string) Enumeration (/tag/enumeration) 46.1% Medium
738 Monotone Increasing Digits (/… Math (/tag/math) Greedy (/tag/greedy) 46.1% Medium
809 Expressive Words (/problems… Array (/tag/array) Two Pointers (/tag/two-pointers) 46.1% Medium
String (/tag/string)
86 Partition List (/problems/partiti… Linked List (/tag/linked-list) Two Pointers (/tag/two-pointers) 46.0% Medium
438 Find All Anagrams in a String … Hash Table (/tag/hash-table) String (/tag/string) 45.9% Medium
775 Global and Local Inversions (/… Array (/tag/array) Math (/tag/math) 45.9% Medium
1107 New Users Daily Count (/prob… Database (/tag/database) 45.9% Medium
670 Maximum Swap (/problems/m… Math (/tag/math) Greedy (/tag/greedy) 45.7% Medium
417 Pacific Atlantic Water Flow (/p… Array (/tag/array) Depth-First Search (/tag/depth-first-search) 45.6% Medium
853 Car Fleet (/problems/car-fleet) Array (/tag/array) Sorting (/tag/sorting) 45.6% Medium
299 Bulls and Cows (/problems/bu… Hash Table (/tag/hash-table) String (/tag/string) 45.5% Medium
Counting (/tag/counting)
73 Set Matrix Zeroes (/problems/… Array (/tag/array) Hash Table (/tag/hash-table) 45.5% Medium
Matrix (/tag/matrix)
416 Partition Equal Subset Sum (/… Array (/tag/array) 45.4% Medium
Dynamic Programming (/tag/dynamic-programming)
Backtracking (/tag/backtracking)
443 String Compression (/problem… Two Pointers (/tag/two-pointers) String (/tag/string) 45.4% Medium
1430 Check If a String Is a Valid Se… Tree (/tag/tree) Depth-First Search (/tag/depth-first-search) 45.3% Medium
Breadth-First Search (/tag/breadth-first-search)
528 Random Pick with Weight (/pr… Math (/tag/math) Binary Search (/tag/binary-search) 45.2% Medium
Backtracking (/tag/backtracking)
291 Word Pattern II (/problems/wo… Hash Table (/tag/hash-table) String (/tag/string) 45.0% Medium
Backtracking (/tag/backtracking)
277 Find the Celebrity (/problems/… Two Pointers (/tag/two-pointers) Greedy (/tag/greedy) 44.9% Medium
Graph (/tag/graph) Interactive (/tag/interactive)
742 Closest Leaf in a Binary Tree … Tree (/tag/tree) Depth-First Search (/tag/depth-first-search) 44.8% Medium
Breadth-First Search (/tag/breadth-first-search)
1054 Distant Barcodes (/problems/… Array (/tag/array) Hash Table (/tag/hash-table) 44.8% Medium
Counting (/tag/counting)
285 Inorder Successor in BST (/pr… Tree (/tag/tree) Depth-First Search (/tag/depth-first-search) 44.7% Medium
Binary Search Tree (/tag/binary-search-tree)
567 Permutation in String (/proble… Hash Table (/tag/hash-table) Two Pointers (/tag/two-pointers) 44.7% Medium
162 Find Peak Element (/problem… Array (/tag/array) Binary Search (/tag/binary-search) 44.6% Medium
1311 Get Watched Videos by Your … Array (/tag/array) Hash Table (/tag/hash-table) 44.6% Medium
Sorting (/tag/sorting)
304 Range Sum Query 2D - Immu… Array (/tag/array) Design (/tag/design) Matrix (/tag/matrix) 44.3% Medium
Prefix Sum (/tag/prefix-sum)
433 Minimum Genetic Mutation (/… Hash Table (/tag/hash-table) String (/tag/string) 44.2% Medium
525 Contiguous Array (/problems/… Array (/tag/array) Hash Table (/tag/hash-table) 44.2% Medium
261 Graph Valid Tree (/problems/… Depth-First Search (/tag/depth-first-search) 44.0% Medium
Breadth-First Search (/tag/breadth-first-search)
388 Longest Absolute File Path (/… String (/tag/string) Stack (/tag/stack) 44.0% Medium
395 Longest Substring with At Le… Hash Table (/tag/hash-table) String (/tag/string) 44.0% Medium
1059 All Paths from Source Lead to… Depth-First Search (/tag/depth-first-search) Graph (/tag/graph) 43.8% Medium
560 Subarray Sum Equals K (/pro… Array (/tag/array) Hash Table (/tag/hash-table) 43.7% Medium
735 Asteroid Collision (/problems/… Array (/tag/array) Stack (/tag/stack) 43.7% Medium
264 Ugly Number II (/problems/ugl… Hash Table (/tag/hash-table) Math (/tag/math) 43.6% Medium
823 Binary Trees With Factors (/p… Array (/tag/array) Hash Table (/tag/hash-table) 43.6% Medium
474 Ones and Zeroes (/problems/… Array (/tag/array) String (/tag/string) 43.6% Medium
117 Populating Next Right Pointer… Tree (/tag/tree) Depth-First Search (/tag/depth-first-search) 43.5% Medium
970 Powerful Integers (/problems/… Hash Table (/tag/hash-table) Math (/tag/math) 43.4% Medium
138 Copy List with Random Point… Hash Table (/tag/hash-table) Linked List (/tag/linked-list) 43.3% Medium
658 Find K Closest Elements (/pro… Array (/tag/array) Two Pointers (/tag/two-pointers) 43.3% Medium
1152 Analyze User Website Visit P… Array (/tag/array) Hash Table (/tag/hash-table) 43.2% Medium
Sorting (/tag/sorting)
640 Solve the Equation (/problem… Math (/tag/math) String (/tag/string) Simulation (/tag/simulation) 43.0% Medium
143 Reorder List (/problems/reord… Linked List (/tag/linked-list) Two Pointers (/tag/two-pointers) 42.9% Medium
Greedy (/tag/greedy)
https://leetcode.com/company/Amazon/ 31/47
11/08/2021 Amazon - LeetCode
Greedy (/tag/greedy)
# Title Tags Acceptance Difficulty Frequency
542 01 Matrix (/problems/01-matrix) Array (/tag/array) 42.8% Medium
139 Word Break (/problems/word-… Hash Table (/tag/hash-table) String (/tag/string) 42.7% Medium
Memoization (/tag/memoization)
134 Gas Station (/problems/gas-st… Array (/tag/array) Greedy (/tag/greedy) 42.6% Medium
187 Repeated DNA Sequences (/… Hash Table (/tag/hash-table) String (/tag/string) 42.4% Medium
1750 Minimum Length of String Aft… Two Pointers (/tag/two-pointers) String (/tag/string) 42.3% Medium
1367 Linked List in Binary Tree (/pr… Linked List (/tag/linked-list) Tree (/tag/tree) 42.1% Medium
1171 Remove Zero Sum Consecuti… Hash Table (/tag/hash-table) Linked List (/tag/linked-list) 41.8% Medium
211 Design Add and Search Word… String (/tag/string) Depth-First Search (/tag/depth-first-search) 41.7% Medium
545 Boundary of Binary Tree (/pro… Tree (/tag/tree) Depth-First Search (/tag/depth-first-search) 41.4% Medium
Binary Tree (/tag/binary-tree)
713 Subarray Product Less Than … Array (/tag/array) Sliding Window (/tag/sliding-window) 41.2% Medium
142 Linked List Cycle II (/problem… Hash Table (/tag/hash-table) Linked List (/tag/linked-list) 41.1% Medium
334 Increasing Triplet Subsequen… Array (/tag/array) Greedy (/tag/greedy) 41.0% Medium
790 Domino and Tromino Tiling (/… Dynamic Programming (/tag/dynamic-programming) 41.0% Medium
1129 Shortest Path with Alternating… Breadth-First Search (/tag/breadth-first-search) Graph (/tag/graph) 40.9% Medium
754 Reach a Number (/problems/r… Math (/tag/math) Binary Search (/tag/binary-search) 40.9% Medium
209 Minimum Size Subarray Sum … Array (/tag/array) Binary Search (/tag/binary-search) 40.8% Medium
1091 Shortest Path in Binary Matrix… Array (/tag/array) Breadth-First Search (/tag/breadth-first-search) 40.8% Medium
Matrix (/tag/matrix)
https://leetcode.com/company/Amazon/ 32/47
11/08/2021 Amazon - LeetCode
221
# Maximal
Title Square (/problems/… Array (/tag/array)
Tags 40.6%
Acceptance Medium
Difficulty Frequency
Dynamic Programming (/tag/dynamic-programming)
Matrix (/tag/matrix)
82 Remove Duplicates from Sort… Linked List (/tag/linked-list) Two Pointers (/tag/two-pointers) 40.4% Medium
150 Evaluate Reverse Polish Nota… Array (/tag/array) Math (/tag/math) Stack (/tag/stack) 40.1% Medium
316 Remove Duplicate Letters (/pr… String (/tag/string) Stack (/tag/stack) Greedy (/tag/greedy) 40.1% Medium
229 Majority Element II (/problems… Array (/tag/array) Hash Table (/tag/hash-table) 40.0% Medium
957 Prison Cells After N Days (/pr… Array (/tag/array) Hash Table (/tag/hash-table) Math (/tag/math) 40.0% Medium
Backtracking (/tag/backtracking)
663 Equal Tree Partition (/proble… Tree (/tag/tree) Depth-First Search (/tag/depth-first-search) 39.9% Medium
Binary Tree (/tag/binary-tree)
201 Bitwise AND of Numbers Ran… Bit Manipulation (/tag/bit-manipulation) 39.9% Medium
826 Most Profit Assigning Work (/… Array (/tag/array) Two Pointers (/tag/two-pointers) 39.8% Medium
Sorting (/tag/sorting)
576 Out of Boundary Paths (/probl… Dynamic Programming (/tag/dynamic-programming) 39.6% Medium
74 Search a 2D Matrix (/problem… Array (/tag/array) Binary Search (/tag/binary-search) 39.4% Medium
Matrix (/tag/matrix)
227 Basic Calculator II (/problems… Math (/tag/math) String (/tag/string) Stack (/tag/stack) 39.4% Medium
662 Maximum Width of Binary Tre… Tree (/tag/tree) Depth-First Search (/tag/depth-first-search) 39.4% Medium
909 Snakes and Ladders (/proble… Array (/tag/array) Breadth-First Search (/tag/breadth-first-search) 39.3% Medium
Matrix (/tag/matrix)
333 Largest BST Subtree (/proble… Dynamic Programming (/tag/dynamic-programming) 39.2% Medium
Tree (/tag/tree) Depth-First Search (/tag/depth-first-search)
779 K-th Symbol in Grammar (/pr… Math (/tag/math) Bit Manipulation (/tag/bit-manipulation) 39.2% Medium
Recursion (/tag/recursion)
373 Find K Pairs with Smallest Su… Array (/tag/array) Heap (Priority Queue) (/tag/heap-priority-queue) 39.0% Medium
845 Longest Mountain in Array (/p… Array (/tag/array) Two Pointers (/tag/two-pointers) 39.0% Medium
Enumeration (/tag/enumeration)
332 Reconstruct Itinerary (/proble… Depth-First Search (/tag/depth-first-search) Graph (/tag/graph) 38.9% Medium
https://leetcode.com/company/Amazon/ 33/47
11/08/2021 Amazon - LeetCode
368
# Largest
Title Divisible Subset (/pro… Array (/tag/array)
Tags Math (/tag/math) 38.8%
Acceptance Medium
Difficulty Frequency
Dynamic Programming (/tag/dynamic-programming)
Sorting (/tag/sorting)
1339 Maximum Product of Splitted … Tree (/tag/tree) Depth-First Search (/tag/depth-first-search) 38.7% Medium
Binary Tree (/tag/binary-tree)
393 UTF-8 Validation (/problems/u… Array (/tag/array) Bit Manipulation (/tag/bit-manipulation) 38.6% Medium
1197 Minimum Knight Moves (/prob… Breadth-First Search (/tag/breadth-first-search) 38.6% Medium
1915 Number of Wonderful Substri… Hash Table (/tag/hash-table) String (/tag/string) 38.6% Medium
34 Find First and Last Position of… Array (/tag/array) Binary Search (/tag/binary-search) 38.4% Medium
687 Longest Univalue Path (/probl… Tree (/tag/tree) Depth-First Search (/tag/depth-first-search) 38.2% Medium
Matrix (/tag/matrix)
54 Spiral Matrix (/problems/spiral… Array (/tag/array) Matrix (/tag/matrix) Simulation (/tag/simulation) 37.9% Medium
307 Range Sum Query - Mutable … Array (/tag/array) Design (/tag/design) 37.9% Medium
146 LRU Cache (/problems/lru-ca… Hash Table (/tag/hash-table) Linked List (/tag/linked-list) 37.6% Medium
787 Cheapest Flights Within K Sto… Dynamic Programming (/tag/dynamic-programming) 37.6% Medium
1386 Cinema Seat Allocation (/prob… Array (/tag/array) Hash Table (/tag/hash-table) 37.3% Medium
842 Split Array into Fibonacci Seq… String (/tag/string) Backtracking (/tag/backtracking) 37.2% Medium
1146 Snapshot Array (/problems/sn… Array (/tag/array) Hash Table (/tag/hash-table) 37.0% Medium
353 Design Snake Game (/proble… Array (/tag/array) Design (/tag/design) Queue (/tag/queue) 36.9% Medium
Matrix (/tag/matrix)
189 Rotate Array (/problems/rotat… Array (/tag/array) Math (/tag/math) 36.8% Medium
2 Add Two Numbers (/problems… Linked List (/tag/linked-list) Math (/tag/math) 36.6% Medium
Recursion (/tag/recursion)
33 Search in Rotated Sorted Arr… Array (/tag/array) Binary Search (/tag/binary-search) 36.6% Medium
1465 Maximum Area of a Piece of … Array (/tag/array) Greedy (/tag/greedy) Sorting (/tag/sorting) 36.6% Medium
Sorting (/tag/sorting)
1177 Can Make Palindrome from S… Hash Table (/tag/hash-table) String (/tag/string) 36.5% Medium
532 K-diff Pairs in an Array (/probl… Array (/tag/array) Hash Table (/tag/hash-table) 36.4% Medium
Sorting (/tag/sorting)
Matrix (/tag/matrix)
1942 The Number of the Smallest … Array (/tag/array) Heap (Priority Queue) (/tag/heap-priority-queue) 36.1% Medium
Greedy (/tag/greedy)
43 Multiply Strings (/problems/m… Math (/tag/math) String (/tag/string) Simulation (/tag/simulation) 35.7% Medium
310 Minimum Height Trees (/probl… Depth-First Search (/tag/depth-first-search) 35.5% Medium
918 Maximum Sum Circular Suba… Array (/tag/array) Divide and Conquer (/tag/divide-and-conquer) 34.9% Medium
794 Valid Tic-Tac-Toe State (/probl… Array (/tag/array) String (/tag/string) 34.6% Medium
31 Next Permutation (/problems/… Array (/tag/array) Two Pointers (/tag/two-pointers) 34.4% Medium
1574 Shortest Subarray to be Rem… Array (/tag/array) Two Pointers (/tag/two-pointers) 34.4% Medium
81 Search in Rotated Sorted Arr… Array (/tag/array) Binary Search (/tag/binary-search) 34.0% Medium
Greedy (/tag/greedy)
# Title Tags
Dynamic Programming (/tag/dynamic-programming) Acceptance Difficulty Frequency
Memoization (/tag/memoization)
356 Line Reflection (/problems/lin… Array (/tag/array) Hash Table (/tag/hash-table) Math (/tag/math) 33.5% Medium
161 One Edit Distance (/problems… Two Pointers (/tag/two-pointers) String (/tag/string) 33.4% Medium
556 Next Greater Element III (/pro… Math (/tag/math) Two Pointers (/tag/two-pointers) 33.4% Medium
String (/tag/string)
581 Shortest Unsorted Continuou… Array (/tag/array) Two Pointers (/tag/two-pointers) 33.3% Medium
633 Sum of Square Numbers (/pr… Math (/tag/math) Two Pointers (/tag/two-pointers) 33.1% Medium
686 Repeated String Match (/prob… String (/tag/string) String Matching (/tag/string-matching) 33.1% Medium
708 Insert into a Sorted Circular Li… Linked List (/tag/linked-list) 33.0% Medium
355 Design Twitter (/problems/des… Hash Table (/tag/hash-table) Linked List (/tag/linked-list) 32.8% Medium
Design (/tag/design)
400 Nth Digit (/problems/nth-digit) Math (/tag/math) Binary Search (/tag/binary-search) 32.7% Medium
Matrix (/tag/matrix)
61 Rotate List (/problems/rotate-l… Linked List (/tag/linked-list) Two Pointers (/tag/two-pointers) 32.6% Medium
365 Water and Jug Problem (/pro… Math (/tag/math) Depth-First Search (/tag/depth-first-search) 32.4% Medium
1487 Making File Names Unique (/… Array (/tag/array) Hash Table (/tag/hash-table) String (/tag/string) 32.3% Medium
3 Longest Substring Without Re… Hash Table (/tag/hash-table) String (/tag/string) 32.0% Medium
179 Largest Number (/problems/la… String (/tag/string) Greedy (/tag/greedy) Sorting (/tag/sorting) 31.5% Medium
165 Compare Version Numbers (/… Two Pointers (/tag/two-pointers) String (/tag/string) 31.4% Medium
1648 Sell Diminishing-Valued Color… Array (/tag/array) Math (/tag/math) 31.3% Medium
Sorting (/tag/sorting)
324 Wiggle Sort II (/problems/wig… Array (/tag/array) Divide and Conquer (/tag/divide-and-conquer) 31.2% Medium
130 Surrounded Regions (/proble… Array (/tag/array) Depth-First Search (/tag/depth-first-search) 30.9% Medium
456 132 Pattern (/problems/132-p… Array (/tag/array) Binary Search (/tag/binary-search) 30.7% Medium
1353 Maximum Number of Events … Array (/tag/array) Greedy (/tag/greedy) 30.7% Medium
1169 Invalid Transactions (/proble… Array (/tag/array) Hash Table (/tag/hash-table) String (/tag/string) 30.4% Medium
Sorting (/tag/sorting)
98 Validate Binary Search Tree (/… Tree (/tag/tree) Depth-First Search (/tag/depth-first-search) 29.4% Medium
1712 Ways to Split Array Into Thre… Array (/tag/array) Two Pointers (/tag/two-pointers) 29.3% Medium
Sorting (/tag/sorting)
402 Remove K Digits (/problems/r… String (/tag/string) Stack (/tag/stack) Greedy (/tag/greedy) 28.8% Medium
880 Decoded String at Index (/pro… String (/tag/string) Stack (/tag/stack) 28.2% Medium
1711 Count Good Meals (/problem… Array (/tag/array) Hash Table (/tag/hash-table) 27.6% Medium
1590 Make Sum Divisible by P (/pr… Array (/tag/array) Hash Table (/tag/hash-table) 27.5% Medium
707 Design Linked List (/problems… Linked List (/tag/linked-list) Design (/tag/design) 26.4% Medium
523 Continuous Subarray Sum (/p… Array (/tag/array) Hash Table (/tag/hash-table) Math (/tag/math) 25.5% Medium
151 Reverse Words in a String (/p… Two Pointers (/tag/two-pointers) String (/tag/string) 25.3% Medium
166 Fraction to Recurring Decimal… Hash Table (/tag/hash-table) Math (/tag/math) String (/tag/string) 22.8% Medium
29 Divide Two Integers (/problem… Math (/tag/math) Bit Manipulation (/tag/bit-manipulation) 17.0% Medium
1479 Sales by Day of the Week (/pr… Database (/tag/database) 82.6% Hard
https://leetcode.com/company/Amazon/ 37/47
11/08/2021 Amazon - LeetCode
489 Robot Room Cleaner (/proble… Backtracking (/tag/backtracking) Interactive (/tag/interactive) 73.9% Hard
1028 Recover a Tree From Preord… String (/tag/string) Tree (/tag/tree) 71.4% Hard
1255 Maximum Score Words Form… Array (/tag/array) String (/tag/string) 70.8% Hard
Backtracking (/tag/backtracking)
759 Employee Free Time (/proble… Array (/tag/array) Sorting (/tag/sorting) 69.4% Hard
Heap (Priority Queue) (/tag/heap-priority-queue)
1788 Maximize the Beauty of the G… Array (/tag/array) Greedy (/tag/greedy) 67.0% Hard
Prefix Sum (/tag/prefix-sum)
1074 Number of Submatrices That … Array (/tag/array) Hash Table (/tag/hash-table) 65.5% Hard
732 My Calendar III (/problems/m… Design (/tag/design) Segment Tree (/tag/segment-tree) 64.2% Hard
895 Maximum Frequency Stack (/… Hash Table (/tag/hash-table) Stack (/tag/stack) 63.8% Hard
428 Serialize and Deserialize N-ar… String (/tag/string) Tree (/tag/tree) 62.7% Hard
Depth-First Search (/tag/depth-first-search)
1842 Next Palindrome Using Same… Two Pointers (/tag/two-pointers) String (/tag/string) 62.7% Hard
773 Sliding Puzzle (/problems/slidi… Array (/tag/array) Breadth-First Search (/tag/breadth-first-search) 62.0% Hard
Matrix (/tag/matrix)
1948 Delete Duplicate Folders in S… Array (/tag/array) Hash Table (/tag/hash-table) String (/tag/string) 61.8% Hard
1106 Parsing A Boolean Expressio… String (/tag/string) Stack (/tag/stack) Recursion (/tag/recursion) 59.7% Hard
1597 Build Binary Expression Tree … String (/tag/string) Stack (/tag/stack) Tree (/tag/tree) 59.0% Hard
Binary Tree (/tag/binary-tree)
296 Best Meeting Point (/problem… Array (/tag/array) Math (/tag/math) Sorting (/tag/sorting) 58.5% Hard
Matrix (/tag/matrix)
1220 Count Vowels Permutation (/p… Dynamic Programming (/tag/dynamic-programming) 56.6% Hard
https://leetcode.com/company/Amazon/ 38/47
11/08/2021 Amazon - LeetCode
632
# Smallest
Title Range Covering Ele… Array (/tag/array)
Tags Hash Table (/tag/hash-table) 55.7%
Acceptance Hard
Difficulty Frequency
Greedy (/tag/greedy) Sliding Window (/tag/sliding-window)
Sorting (/tag/sorting)
847 Shortest Path Visiting All Nod… Dynamic Programming (/tag/dynamic-programming) 54.9% Hard
Bitmask (/tag/bitmask)
770 Basic Calculator IV (/problem… Hash Table (/tag/hash-table) Math (/tag/math) String (/tag/string) 54.8% Hard
1478 Allocate Mailboxes (/problem… Array (/tag/array) Math (/tag/math) 54.1% Hard
Sorting (/tag/sorting)
1231 Divide Chocolate (/problems/… Array (/tag/array) Binary Search (/tag/binary-search) 54.0% Hard
899 Orderly Queue (/problems/ord… Math (/tag/math) String (/tag/string) Sorting (/tag/sorting) 53.9% Hard
272 Closest Binary Search Tree V… Two Pointers (/tag/two-pointers) Stack (/tag/stack) 53.8% Hard
Tree (/tag/tree) Depth-First Search (/tag/depth-first-search)
42 Trapping Rain Water (/proble… Array (/tag/array) Two Pointers (/tag/two-pointers) 53.0% Hard
992 Subarrays with K Different Int… Array (/tag/array) Hash Table (/tag/hash-table) 51.9% Hard
1192 Critical Connections in a Net… Depth-First Search (/tag/depth-first-search) Graph (/tag/graph) 51.8% Hard
1489 Find Critical and Pseudo-Criti… Union Find (/tag/union-find) Graph (/tag/graph) 51.8% Hard
Sorting (/tag/sorting)
297 Serialize and Deserialize Bina… String (/tag/string) Tree (/tag/tree) 51.4% Hard
b f
https://leetcode.com/company/Amazon/ (/ bl / 39/47
11/08/2021 Amazon - LeetCode
726 Number of Atoms (/problems/… Hash Table (/tag/hash-table) String (/tag/string) Stack (/tag/stack) 51.2% Hard
# Title Tags Acceptance Difficulty Frequency
1751 Maximum Number of Events … Array (/tag/array) Binary Search (/tag/binary-search) 51.0% Hard
995 Minimum Number of K Conse… Array (/tag/array) Bit Manipulation (/tag/bit-manipulation) 50.4% Hard
1569 Number of Ways to Reorder … Array (/tag/array) Math (/tag/math) 49.8% Hard
Memoization (/tag/memoization)
Matrix (/tag/matrix)
352 Data Stream as Disjoint Interv… Binary Search (/tag/binary-search) Design (/tag/design) 49.3% Hard
295 Find Median from Data Strea… Two Pointers (/tag/two-pointers) Design (/tag/design) 49.0% Hard
Sorting (/tag/sorting)
1735 Count Ways to Make Array W… Array (/tag/array) Math (/tag/math) 49.0% Hard
465 Optimal Account Balancing (/… Array (/tag/array) Backtracking (/tag/backtracking) 48.7% Hard
1032 Stream of Characters (/proble… Array (/tag/array) String (/tag/string) Design (/tag/design) 48.7% Hard
Enumeration (/tag/enumeration)
1235 Maximum Profit in Job Sched… Array (/tag/array) Binary Search (/tag/binary-search) 48.3% Hard
Sorting (/tag/sorting)
1675 Minimize Deviation in Array (/… Array (/tag/array) Greedy (/tag/greedy) 48.1% Hard
https://leetcode.com/company/Amazon/ 40/47
11/08/2021 Amazon - LeetCode
#
25 Title
Reverse Nodes in k-Group (/p… Tags
Linked List (/tag/linked-list) Recursion (/tag/recursion) Acceptance
47.7% Difficulty
Hard Frequency
410 Split Array Largest Sum (/pro… Array (/tag/array) Binary Search (/tag/binary-search) 47.7% Hard
Greedy (/tag/greedy)
Backtracking (/tag/backtracking)
Greedy (/tag/greedy)
Memoization (/tag/memoization)
642 Design Search Autocomplete … String (/tag/string) Design (/tag/design) Trie (/tag/trie) 47.1% Hard
Data Stream (/tag/data-stream)
588 Design In-Memory File Syste… Hash Table (/tag/hash-table) String (/tag/string) 46.9% Hard
Design (/tag/design) Trie (/tag/trie)
1799 Maximize Score After N Oper… Array (/tag/array) Math (/tag/math) 45.9% Hard
Backtracking (/tag/backtracking)
943 Find the Shortest Superstring … Array (/tag/array) String (/tag/string) 45.8% Hard
301 Remove Invalid Parentheses … String (/tag/string) Backtracking (/tag/backtracking) 45.5% Hard
239 Sliding Window Maximum (/pr… Array (/tag/array) Queue (/tag/queue) 45.4% Hard
772 Basic Calculator III (/problem… Math (/tag/math) String (/tag/string) Stack (/tag/stack) 45.4% Hard
Recursion (/tag/recursion)
407 Trapping Rain Water II (/probl… Array (/tag/array) Breadth-First Search (/tag/breadth-first-search) 45.3% Hard
Matrix (/tag/matrix)
1559 Detect Cycles in 2D Grid (/pro… Array (/tag/array) Depth-First Search (/tag/depth-first-search) 45.3% Hard
843 Guess the Word (/problems/g… Array (/tag/array) Math (/tag/math) String (/tag/string) 45.2% Hard
827 Making A Large Island (/probl… Array (/tag/array) Depth-First Search (/tag/depth-first-search) 45.0% Hard
https://leetcode.com/company/Amazon/ 41/47
11/08/2021 Amazon - LeetCode
#
546 Title
Remove Boxes (/problems/re… Tags
Array (/tag/array) Acceptance
44.4% Difficulty
Hard Frequency
Memoization (/tag/memoization)
815 Bus Routes (/problems/bus-ro… Array (/tag/array) Hash Table (/tag/hash-table) 44.2% Hard
317 Shortest Distance from All Bui… Array (/tag/array) Breadth-First Search (/tag/breadth-first-search) 43.7% Hard
Matrix (/tag/matrix)
882 Reachable Nodes In Subdivid… Graph (/tag/graph) Heap (Priority Queue) (/tag/heap-priority-queue) 43.7% Hard
864 Shortest Path to Get All Keys … Bit Manipulation (/tag/bit-manipulation) 43.2% Hard
1293 Shortest Path in a Grid with O… Array (/tag/array) Breadth-First Search (/tag/breadth-first-search) 43.2% Hard
Matrix (/tag/matrix)
839 Similar String Groups (/proble… String (/tag/string) Depth-First Search (/tag/depth-first-search) 43.1% Hard
502 IPO (/problems/ipo) Array (/tag/array) Greedy (/tag/greedy) Sorting (/tag/sorting) 42.4% Hard
154 Find Minimum in Rotated Sort… Array (/tag/array) Binary Search (/tag/binary-search) 42.3% Hard
1345 Jump Game IV (/problems/ju… Array (/tag/array) Hash Table (/tag/hash-table) 42.1% Hard
315 Count of Smaller Numbers Aft… Array (/tag/array) Binary Search (/tag/binary-search) 42.0% Hard
715 Range Module (/problems/ran… Design (/tag/design) Segment Tree (/tag/segment-tree) 42.0% Hard
1383 Maximum Performance of a T… Array (/tag/array) Greedy (/tag/greedy) Sorting (/tag/sorting) 41.2% Hard
123 Best Time to Buy and Sell Sto… Array (/tag/array) 41.1% Hard
Dynamic Programming (/tag/dynamic-programming)
968 Binary Tree Cameras (/proble… Dynamic Programming (/tag/dynamic-programming) 40.9% Hard
Backtracking (/tag/backtracking)
164 Maximum Gap (/problems/ma… Array (/tag/array) Sorting (/tag/sorting) 40.1% Hard
480 Sliding Window Median (/prob… Array (/tag/array) Hash Table (/tag/hash-table) 39.8% Hard
829 Consecutive Numbers Sum (/… Math (/tag/math) Enumeration (/tag/enumeration) 39.7% Hard
305 Number of Islands II (/proble… Array (/tag/array) Union Find (/tag/union-find) 39.4% Hard
987 Vertical Order Traversal of a … Hash Table (/tag/hash-table) Tree (/tag/tree) 39.3% Hard
224 Basic Calculator (/problems/b… Math (/tag/math) String (/tag/string) Stack (/tag/stack) 38.9% Hard
Recursion (/tag/recursion)
517 Super Washing Machines (/pr… Array (/tag/array) Greedy (/tag/greedy) 38.8% Hard
854 K-Similar Strings (/problems/k… String (/tag/string) Breadth-First Search (/tag/breadth-first-search) 38.7% Hard
158 Read N Characters Given Re… String (/tag/string) Simulation (/tag/simulation) 38.7% Hard
Interactive (/tag/interactive)
https://leetcode.com/company/Amazon/ 43/47
11/08/2021 Amazon - LeetCode
Interactive (/tag/interactive)
# Title Tags Acceptance Difficulty Frequency
354 Russian Doll Envelopes (/pro… Array (/tag/array) Binary Search (/tag/binary-search) 38.7% Hard
Dynamic Programming (/tag/dynamic-programming)
Sorting (/tag/sorting)
212 Word Search II (/problems/wo… Array (/tag/array) String (/tag/string) 37.9% Hard
Matrix (/tag/matrix)
140 Word Break II (/problems/wor… Hash Table (/tag/hash-table) String (/tag/string) 37.6% Hard
Memoization (/tag/memoization)
460 LFU Cache (/problems/lfu-cac… Hash Table (/tag/hash-table) Linked List (/tag/linked-list) 37.6% Hard
282 Expression Add Operators (/p… Math (/tag/math) String (/tag/string) 37.5% Hard
Backtracking (/tag/backtracking)
1373 Maximum Sum BST in Binary… Dynamic Programming (/tag/dynamic-programming) 37.5% Hard
218 The Skyline Problem (/proble… Array (/tag/array) Divide and Conquer (/tag/divide-and-conquer) 37.4% Hard
1537 Get the Maximum Score (/pro… Array (/tag/array) Two Pointers (/tag/two-pointers) 37.3% Hard
Greedy (/tag/greedy)
76 Minimum Window Substring (/… Hash Table (/tag/hash-table) String (/tag/string) 37.0% Hard
1520 Maximum Number of Non-Ov… String (/tag/string) Greedy (/tag/greedy) 37.0% Hard
587 Erect the Fence (/problems/er… Array (/tag/array) Math (/tag/math) Geometry (/tag/geometry) 36.9% Hard
1172 Dinner Plate Stacks (/problem… Hash Table (/tag/hash-table) Stack (/tag/stack) 36.4% Hard
Design (/tag/design)
1505 Minimum Possible Integer Aft… String (/tag/string) Greedy (/tag/greedy) 36.4% Hard
124 Binary Tree Maximum Path S… Dynamic Programming (/tag/dynamic-programming) 36.3% Hard
902 Numbers At Most N Given Di… Array (/tag/array) Math (/tag/math) 36.3% Hard
https://leetcode.com/company/Amazon/ 44/47
11/08/2021 Amazon - LeetCode
327 Count of Range Sum (/proble… Array (/tag/array) Binary Search (/tag/binary-search) 36.2% Hard
336 Palindrome Pairs (/problems/… Array (/tag/array) Hash Table (/tag/hash-table) String (/tag/string) 36.1% Hard
Trie (/tag/trie)
1782 Count Pairs Of Nodes (/probl… Two Pointers (/tag/two-pointers) Binary Search (/tag/binary-search) 35.9% Hard
Graph (/tag/graph)
Matrix (/tag/matrix)
1153 String Transforms Into Anoth… Hash Table (/tag/hash-table) String (/tag/string) 35.6% Hard
675 Cut Off Trees for Golf Event (/… Array (/tag/array) Breadth-First Search (/tag/breadth-first-search) 35.5% Hard
Matrix (/tag/matrix)
745 Prefix and Suffix Search (/pro… String (/tag/string) Design (/tag/design) Trie (/tag/trie) 35.3% Hard
381 Insert Delete GetRandom O(1… Array (/tag/array) Hash Table (/tag/hash-table) Math (/tag/math) 35.2% Hard
Greedy (/tag/greedy)
41 First Missing Positive (/proble… Array (/tag/array) Hash Table (/tag/hash-table) 34.8% Hard
Greedy (/tag/greedy)
269 Alien Dictionary (/problems/ali… Array (/tag/array) String (/tag/string) 34.1% Hard
Depth-First Search (/tag/depth-first-search)
Matrix (/tag/matrix)
432 All O`one Data Structure (/pro… Hash Table (/tag/hash-table) Linked List (/tag/linked-list) 34.0% Hard
1610 Maximum Number of Visible … Array (/tag/array) Math (/tag/math) Geometry (/tag/geometry) 33.2% Hard
127 Word Ladder (/problems/word… Hash Table (/tag/hash-table) String (/tag/string) 33.1% Hard
https://leetcode.com/company/Amazon/ 45/47
11/08/2021 Amazon - LeetCode
o d adde (/p ob e s/ o d Hash Table (/tag/hash table) String (/tag/string) 33 % ad
# Title Tags
Breadth-First Search (/tag/breadth-first-search) Acceptance Difficulty Frequency
1483 Kth Ancestor of a Tree Node (… Binary Search (/tag/binary-search) 33.0% Hard
Design (/tag/design)
4 Median of Two Sorted Arrays … Array (/tag/array) Binary Search (/tag/binary-search) 32.4% Hard
Recursion (/tag/recursion)
1847 Closest Room (/problems/clo… Array (/tag/array) Binary Search (/tag/binary-search) 31.9% Hard
Sorting (/tag/sorting)
188 Best Time to Buy and Sell Sto… Array (/tag/array) 31.2% Hard
Dynamic Programming (/tag/dynamic-programming)
214 Shortest Palindrome (/proble… String (/tag/string) Rolling Hash (/tag/rolling-hash) 31.1% Hard
1044 Longest Duplicate Substring (… String (/tag/string) Binary Search (/tag/binary-search) 30.8% Hard
Stack (/tag/stack)
1889 Minimum Space Wasted Fro… Array (/tag/array) Binary Search (/tag/binary-search) 29.1% Hard
335 Self Crossing (/problems/self-… Array (/tag/array) Math (/tag/math) Geometry (/tag/geometry) 28.9% Hard
273 Integer to English Words (/pro… Math (/tag/math) String (/tag/string) Recursion (/tag/recursion) 28.8% Hard
493 Reverse Pairs (/problems/rev… Array (/tag/array) Binary Search (/tag/binary-search) 28.2% Hard
Recursion (/tag/recursion)
i
https://leetcode.com/company/Amazon/ b (/ 46/47
11/08/2021 Amazon - LeetCode
321 Create Maximum Number (/pr… Stack (/tag/stack) Greedy (/tag/greedy) 27.8% Hard
# Title Tags Acceptance Difficulty Frequency
Monotonic Stack (/tag/monotonic-stack)
1923 Longest Common Subpath (/… Array (/tag/array) Binary Search (/tag/binary-search) 27.2% Hard
30 Substring with Concatenation … Hash Table (/tag/hash-table) String (/tag/string) 27.0% Hard
887 Super Egg Drop (/problems/s… Math (/tag/math) Binary Search (/tag/binary-search) 26.9% Hard
805 Split Array With Same Averag… Array (/tag/array) Math (/tag/math) 26.7% Hard
862 Shortest Subarray with Sum a… Array (/tag/array) Binary Search (/tag/binary-search) 25.6% Hard
126 Word Ladder II (/problems/wo… Hash Table (/tag/hash-table) String (/tag/string) 25.2% Hard
Backtracking (/tag/backtracking)
564 Find the Closest Palindrome (… Math (/tag/math) String (/tag/string) 20.7% Hard
149 Max Points on a Line (/proble… Hash Table (/tag/hash-table) Math (/tag/math) 18.6% Hard
Geometry (/tag/geometry)
420 Strong Password Checker (/p… String (/tag/string) Greedy (/tag/greedy) 13.7% Hard
Help Center (/support) Jobs (/jobs) Bug Bounty (/bugbounty) Online Interview (/interview/) Students (/student) Terms (/terms) Privacy Policy (/privacy)
https://leetcode.com/company/Amazon/ 47/47