Mapped by number
Top Interview 150, mapped
Top Interview 150's 150 problems mapped by number to CSWork: 124 can be judged online here, the rest link out to LeetCode. Not an official list.
124 / 150 judgeable here26 external
Practice this list in the bank →Array / String24 problems · 17 judgeable here
- 88Merge Sorted ArrayEasy
- 27Remove ElementEasy
- 26Remove Duplicates from Sorted ArrayEasy
- 80Remove Duplicates from Sorted Array IIMedium
- 169Majority ElementEasy
- 189LeetCode 189 (opens in a new tab)
- 121Best Time to Buy and Sell StockEasy
- 122Best Time to Buy and Sell Stock IIMedium
- 55Jump GameMedium
- 45Jump Game IIMedium
- 274LeetCode 274 (opens in a new tab)
- 380Insert Delete GetRandom O(1)Medium
- 238Product of Array Except SelfMedium
- 134Gas StationMedium
- 135CandyHard
- 42Trapping Rain WaterHard
- 13Roman to Integer (opens in a new tab)Easy
- 12Integer to Roman (opens in a new tab)Medium
- 58LeetCode 58 (opens in a new tab)
- 14LeetCode 14 (opens in a new tab)
- 151Reverse Words in a StringMedium
- 6LeetCode 6 (opens in a new tab)
- 28Find the Index of the First Occurrence in a StringEasy
- 68Text JustificationHard
Two Pointers5 problems · 5 judgeable here
- 125Valid PalindromeEasy
- 392Is SubsequenceEasy
- 167Two Sum II - Input Array Is SortedMedium
- 11Container With Most WaterMedium
- 153SumMedium
Sliding Window4 problems · 4 judgeable here
Matrix5 problems · 1 judgeable here
Hashmap9 problems · 4 judgeable here
Intervals4 problems · 3 judgeable here
- 228Summary Ranges (opens in a new tab)Easy
- 56Merge IntervalsMedium
- 57Insert IntervalMedium
- 452Minimum Number of Arrows to Burst BalloonsMedium
Stack5 problems · 5 judgeable here
- 20Valid ParenthesesEasy
- 71Simplify PathMedium
- 155Min StackMedium
- 150Evaluate Reverse Polish NotationMedium
- 224Basic CalculatorHard
Linked List11 problems · 11 judgeable here
- 141Linked List CycleEasy
- 2Add Two NumbersMedium
- 21Merge Two Sorted ListsEasy
- 138Copy List with Random PointerMedium
- 92Reverse Linked List IIMedium
- 25Reverse Nodes in k-GroupHard
- 19Remove Nth Node From End of ListMedium
- 82Remove Duplicates from Sorted List IIMedium
- 61Rotate ListMedium
- 86Partition ListMedium
- 146LRU CacheMedium
Binary Tree General14 problems · 14 judgeable here
- 104Maximum Depth of Binary TreeEasy
- 100Same TreeEasy
- 226Invert Binary TreeEasy
- 101Symmetric TreeEasy
- 105Construct Binary Tree from Preorder and Inorder TraversalMedium
- 106Construct Binary Tree from Inorder and Postorder TraversalMedium
- 117Populating Next Right Pointers in Each Node IIMedium
- 114Flatten Binary Tree to Linked ListMedium
- 112Path SumEasy
- 129Sum Root to Leaf NumbersMedium
- 124Binary Tree Maximum Path SumHard
- 173Binary Search Tree IteratorMedium
- 222Count Complete Tree NodesEasy
- 236Lowest Common Ancestor of a Binary TreeMedium
Binary Tree BFS4 problems · 3 judgeable here
Binary Search Tree3 problems · 3 judgeable here
- 530Minimum Absolute Difference in BSTEasy
- 230Kth Smallest Element in a BSTMedium
- 98Validate Binary Search TreeMedium
Graph General6 problems · 5 judgeable here
- 200Number of IslandsMedium
- 130Surrounded RegionsMedium
- 133LeetCode 133 (opens in a new tab)
- 399Evaluate DivisionMedium
- 207Course ScheduleMedium
- 210Course Schedule IIMedium
Graph BFS3 problems · 3 judgeable here
- 909Snakes and LaddersMedium
- 433Minimum Genetic MutationMedium
- 127Word LadderHard
Trie3 problems · 1 judgeable here
Backtracking7 problems · 7 judgeable here
- 17Letter Combinations of a Phone NumberMedium
- 77CombinationsMedium
- 46PermutationsMedium
- 39Combination SumMedium
- 52N-Queens IIHard
- 22Generate ParenthesesMedium
- 79Word SearchMedium
Divide & Conquer4 problems · 3 judgeable here
- 108Convert Sorted Array to Binary Search TreeEasy
- 148Sort ListMedium
- 427Construct Quad Tree (opens in a new tab)Medium
- 23Merge k Sorted ListsHard
Kadane's Algorithm2 problems · 2 judgeable here
- 53Maximum SubarrayMedium
- 918Maximum Sum Circular SubarrayMedium
Binary Search7 problems · 7 judgeable here
- 35Search Insert PositionEasy
- 74Search a 2D MatrixMedium
- 162Find Peak ElementMedium
- 33Search in Rotated Sorted ArrayMedium
- 34Find First and Last Position of Element in Sorted ArrayMedium
- 153Find Minimum in Rotated Sorted ArrayMedium
- 4Median of Two Sorted ArraysHard
Heap4 problems · 4 judgeable here
- 215Kth Largest Element in an ArrayMedium
- 502IPOHard
- 373Find K Pairs with Smallest SumsMedium
- 295Find Median from Data StreamHard
Bit Manipulation6 problems · 5 judgeable here
- 67LeetCode 67 (opens in a new tab)
- 190Reverse BitsEasy
- 191Number of 1 BitsEasy
- 136Single NumberEasy
- 137Single Number IIMedium
- 201Bitwise AND of Numbers RangeMedium
Math6 problems · 3 judgeable here
1D DP5 problems · 5 judgeable here
- 70Climbing StairsEasy
- 198House RobberMedium
- 139Word BreakMedium
- 322Coin ChangeMedium
- 300Longest Increasing SubsequenceMedium
Multidimensional DP9 problems · 9 judgeable here
- 120TriangleMedium
- 64Minimum Path SumMedium
- 63Unique Paths IIMedium
- 5Longest Palindromic SubstringMedium
- 97Interleaving StringMedium
- 72Edit DistanceMedium
- 123Best Time to Buy and Sell Stock IIIHard
- 188Best Time to Buy and Sell Stock IVHard
- 221Maximal SquareMedium
Where the list comes from
Top Interview 150 is published by its own authors. This page only maps it by problem number and is not official. The original list: leetcode.cn