← back

NeetCode 150

131 questions · 0 seen

Extended interview prep with 150 curated problems

Problems

1 Two Sum
3 Longest Substring Without Repeating Characters
5 Longest Palindromic Substring
7 Reverse Integer
11 Container With Most Water
15 3Sum
17 Letter Combinations of a Phone Number
19 Remove Nth Node From End of List
20 Valid Parentheses
21 Merge Two Sorted Lists
22 Generate Parentheses
23 Merge k Sorted Lists
25 Reverse Nodes in k-Group
26 Remove Duplicates from Sorted Array
27 Remove Element
33 Search in Rotated Sorted Array
36 Valid Sudoku
39 Combination Sum
42 Trapping Rain Water
43 Multiply Strings
45 Jump Game II
46 Permutations
48 Rotate Image
49 Group Anagrams
51 N-Queens
53 Maximum Subarray
54 Spiral Matrix
55 Jump Game
56 Merge Intervals
57 Insert Interval
62 Unique Paths
70 Climbing Stairs
73 Set Matrix Zeroes
74 Search a 2D Matrix
76 Minimum Window Substring
78 Subsets
79 Word Search
84 Largest Rectangle in Histogram
91 Decode Ways
97 Interleaving String
98 Validate Binary Search Tree
100 Same Tree
102 Binary Tree Level Order Traversal
104 Maximum Depth of Binary Tree
105 Construct Binary Tree from Preorder and Inorder Traversal
110 Balanced Binary Tree
115 Distinct Subsequences
121 Best Time to Buy and Sell Stock
124 Binary Tree Maximum Path Sum
125 Valid Palindrome
127 Word Ladder
128 Longest Consecutive Sequence
130 Surrounded Regions
131 Palindrome Partitioning
133 Clone Graph
134 Gas Station
136 Single Number
138 Copy List with Random Pointer
139 Word Break
141 Linked List Cycle
143 Reorder List
144 Binary Tree Preorder Traversal
146 LRU Cache
148 Sort List
150 Evaluate Reverse Polish Notation
152 Maximum Product Subarray
153 Find Minimum in Rotated Sorted Array
155 Min Stack
167 Two Sum II - Input Array Is Sorted
190 Reverse Bits
191 Number of 1 Bits
198 House Robber
199 Binary Tree Right Side View
200 Number of Islands
202 Happy Number
206 Reverse Linked List
207 Course Schedule
208 Implement Trie (Prefix Tree)
210 Course Schedule II
211 Design Add and Search Words Data Structure
212 Word Search II
213 House Robber II
215 Kth Largest Element in an Array
217 Contains Duplicate
224 Basic Calculator
226 Invert Binary Tree
230 Kth Smallest Element in a BST
235 Lowest Common Ancestor of a Binary Search Tree
238 Product of Array Except Self
239 Sliding Window Maximum
242 Valid Anagram
268 Missing Number
287 Find the Duplicate Number
295 Find Median from Data Stream
297 Serialize and Deserialize Binary Tree
300 Longest Increasing Subsequence
312 Burst Balloons
322 Coin Change
332 Reconstruct Itinerary
338 Counting Bits
347 Top K Frequent Elements
355 Design Twitter
371 Sum of Two Integers
377 Combination Sum IV
416 Partition Equal Subset Sum
417 Pacific Atlantic Water Flow
424 Longest Repeating Character Replacement
435 Non-overlapping Intervals
567 Permutation in String
572 Subtree of Another Tree
621 Task Scheduler
647 Palindromic Substrings
684 Redundant Connection
695 Max Area of Island
703 Kth Largest Element in a Stream
704 Binary Search
739 Daily Temperatures
743 Network Delay Time
746 Min Cost Climbing Stairs
763 Partition Labels
778 Swim in Rising Water
787 Cheapest Flights Within K Stops
853 Car Fleet
875 Koko Eating Bananas
981 Time Based Key-Value Store
994 Rotting Oranges
1046 Last Stone Weight
1899 Merge Triplets to Form Target Triplet