IO
Sheets/NeetCode150
133 problems

NeetCode150

Follow the NeetCode150 sheet end-to-end — a proven, ordered set of problems.

127Total problems
0Solved
0%Completion
24/85/24Easy/Med/Hard
Generate Brackets· Recursion
Amazon
Google
Microsoft
+1
Recursion · Backtracking · Strings
Power Set· Recursion
Amazon
Microsoft
Meta
Recursion · Backtracking · Bit Manipulation
Combination Sum II· Recursion
Amazon
Microsoft
Meta
Recursion · Backtracking · Arrays
All Palindromic Splits of a String· Recursion
Amazon
Microsoft
Google
Recursion · Backtracking · Strings
Word Search in Matrix· Recursion
Amazon
Microsoft
Meta
+1
Recursion · Backtracking · Arrays
String Segmentation· Recursion
Amazon
Google
Meta
Recursion · Backtracking · Dynamic Programming
Two Sum· Hashing
Amazon
Google
Microsoft
+2
Arrays · Hashing
Longest Consecutive Sequence· Hashing
Amazon
Google
Microsoft
+1
Arrays · Hashing
Count Subarrays with Target Sum· Hashing
Amazon
Google
Meta
Arrays · Hashing · Prefix Sum
Finding the Single Element in an Array· Arrays
Amazon
Microsoft
Google
Arrays · Bit Manipulation
Largest Subarray Sum· Arrays
Amazon
Microsoft
Google
+1
Arrays · Dynamic Programming · Divide and Conquer
Maximum Subarray Product· Arrays
Amazon
Microsoft
Meta
Arrays · Dynamic Programming
Arrange Colors in Order· Arrays
Amazon
Microsoft
Google
+1
Arrays · Two Pointers · Sorting
Majority Element· Arrays
Amazon
Microsoft
Google
+1
Arrays · Hashing · Greedy
Maximize Share Profit· Arrays
Amazon
Microsoft
Google
+1
Arrays · Greedy · Dynamic Programming
Three Sum· Arrays
Amazon
Google
Microsoft
+2
Arrays · Two Pointers · Sorting
Four Sum· Arrays
Amazon
Google
Meta
Arrays · Two Pointers · Sorting
Merge Intervals· Arrays
Amazon
Google
Microsoft
+2
Arrays · Sorting · Greedy
Search Element in Rotated Sorted Array· Binary Search
Amazon
Microsoft
Google
+1
Binary Search · Arrays
Find Minimum in Rotated Sorted Array· Binary Search
Amazon
Microsoft
Google
+1
Binary Search · Arrays
Find Peak Element· Binary Search
Amazon
Google
Meta
Binary Search · Arrays
Monkey Eating Bananas· Binary Search
Amazon
Google
Binary Search · Arrays · Greedy
Median of Two Sorted Arrays· Binary Search
Amazon
Google
Microsoft
+1
Binary Search · Arrays
Search in a 2D Sorted Matrix· Binary Search
Amazon
Microsoft
Meta
Binary Search · Arrays · Matrix
Search in a 2D Sorted Matrix II· Binary Search
Amazon
Microsoft
Google
Binary Search · Arrays · Matrix
Count Set Bits in an Integer· Bit Manipulation
Amazon
Microsoft
Google
Bit Manipulation
Single Element· Bit Manipulation
Amazon
Microsoft
Google
Bit Manipulation · Arrays
Insert Interval· Greedy Algorithms
Amazon
Google
Microsoft
+1
Arrays · Greedy · Sorting
Non Overlapping Intervals· Greedy Algorithms
Amazon
Google
Meta
Arrays · Greedy · Sorting
Amazon
Google
Microsoft
+1
Arrays · Greedy · Dynamic Programming
Amazon
Google
Microsoft
+1
Arrays · Greedy · Dynamic Programming
Amazon
Google
Microsoft
+2
Linked List · Hashing · Greedy
Longest Substring Without Repeating Characters· Sliding Window & Two Pointers
Amazon
Google
Microsoft
+2
Strings · Sliding Window · Hashing
Max Consecutive Ones III· Sliding Window & Two Pointers
Amazon
Google
Meta
Arrays · Sliding Window
Amazon
Google
Arrays · Sliding Window · Hashing
Longest Repeating Character Replacement· Sliding Window & Two Pointers
Amazon
Google
Meta
Strings · Sliding Window · Hashing
Amazon
Google
Arrays · Sliding Window · Prefix Sum
Subarrays with K Distinct Integers· Sliding Window & Two Pointers
Amazon
Google
Arrays · Sliding Window · Hashing
Minimum Window Substring· Sliding Window & Two Pointers
Amazon
Google
Microsoft
+1
Strings · Sliding Window · Hashing
Balanced Parenthesis· Stacks & Queues
Amazon
Google
Microsoft
+2
Stack · Strings
Implement Min Stack· Stacks & Queues
Amazon
Google
Microsoft
+2
Stack · Design
Next Greater Element· Stacks & Queues
Amazon
Microsoft
Google
Stack · Monotonic Stack · Arrays
Trapping Rainwater· Stacks & Queues
Amazon
Google
Microsoft
+2
Arrays · Stack · Two Pointers
Asteroid Collision· Stacks & Queues
Amazon
Google
Meta
Arrays · Stack
Largest Rectangle in Histogram· Stacks & Queues
Amazon
Google
Microsoft
+1
Arrays · Stack · Monotonic Stack
Middle of the Linked List· Linked List
Amazon
Microsoft
Google
Linked List · Two Pointers
Reverse a Linked List· Linked List
Amazon
Google
Microsoft
+2
Linked List · Recursion
Cycle Detection· Linked List
Amazon
Google
Microsoft
+1
Linked List · Two Pointers
Find Start Node of a Cycle· Linked List
Amazon
Microsoft
Meta
Linked List · Two Pointers
Palindrome Linked List· Linked List
Amazon
Microsoft
Meta
Linked List · Two Pointers · Recursion
Delete Kth Node From End· Linked List
Amazon
Google
Microsoft
+1
Linked List · Two Pointers
Sort Linked List· Linked List
Amazon
Microsoft
Google
Linked List · Sorting · Merge Sort
Intersection of Two Linked Lists· Linked List
Amazon
Microsoft
Google
+1
Linked List · Two Pointers · Hashing
Add Two Numbers· Linked List
Amazon
Google
Microsoft
+2
Linked List · Maths · Recursion
Reverse Nodes in K-Group· Linked List
Amazon
Google
Microsoft
+1
Linked List · Recursion
Clone Smart Device Chain with Random Pointer· Linked List
Amazon
Google
Microsoft
+1
Linked List · Hashing · Recursion
Preorder Traversal· Binary Trees
Amazon
Microsoft
Trees · DFS · Recursion
Inorder Traversal· Binary Trees
Amazon
Microsoft
Trees · DFS · Recursion
Postorder Traversal· Binary Trees
Amazon
Trees · DFS · Recursion
Level Order Traversal· Binary Trees
Amazon
Microsoft
Google
+1
Trees · BFS · Queue
Balanced Binary Tree· Binary Trees
Amazon
Microsoft
Trees · Recursion · DFS
Diameter of Binary Tree· Binary Trees
Amazon
Microsoft
Google
Trees · Recursion · DFS
Maximum Path Sum of a Binary Tree· Binary Trees
Amazon
Microsoft
Google
Trees · Recursion · DFS
Identical Binary Trees· Binary Trees
Amazon
Trees · Recursion · DFS
Symmetric Binary Tree· Binary Trees
Amazon
Microsoft
Trees · Recursion · DFS
Zig-Zag Level Order Traversal· Binary Trees
Amazon
Microsoft
Trees · BFS · Queue
Right View of Binary Tree· Binary Trees
Amazon
Microsoft
Google
Trees · DFS · BFS
Lowest Common Ancestor of a Binary Tree· Binary Trees
Amazon
Microsoft
Google
+1
Trees · DFS · Recursion
Preorder Inorder Tree Build· Binary Trees
Amazon
Microsoft
Google
Trees · Recursion · DFS
Tree Serialization and Deserialization· Binary Trees
Amazon
Microsoft
Google
+1
Trees · DFS · BFS
Amazon
Microsoft
Binary Search Tree · Recursion · Binary Search
Insertion in BST· Binary Search Tree
Amazon
Microsoft
Binary Search Tree · Recursion
Deletion in BST· Binary Search Tree
Amazon
Microsoft
Google
Binary Search Tree · Recursion
Kth Smallest Element in BST· Binary Search Tree
Amazon
Microsoft
Google
Binary Search Tree · Recursion · Stack
Validate a Binary Search Tree· Binary Search Tree
Amazon
Microsoft
Google
+1
Binary Search Tree · Recursion · DFS
Lowest Common Ancestor in BST· Binary Search Tree
Amazon
Microsoft
Binary Search Tree · Recursion
Kth Largest Element· Heaps
Amazon
Microsoft
Google
+1
Heap · Sorting · Arrays
Merge K Sorted Linked Lists· Heaps
Amazon
Microsoft
Google
+1
Heap · Linked List · Sorting
Top K Frequent Elements· Heaps
Amazon
Microsoft
Google
+1
Heap · Hashing · Sorting
Tasks Scheduling· Heaps
Amazon
Google
Meta
Heap · Greedy · Hashing
Median Tracker In Data Stream· Heaps
Amazon
Microsoft
Google
+1
Heap · Sorting
Number of Provinces· Graphs
Amazon
Microsoft
Graph · DFS · Union Find
Number Of Islands· Graphs
Amazon
Microsoft
Google
+1
Graph · BFS · DFS
Rotten Oranges· Graphs
Amazon
Microsoft
Graph · BFS · Queue
Flood Fill· Graphs
Amazon
Microsoft
Graph · BFS · DFS
Nearest Zero· Graphs
Amazon
Google
Graph · BFS
'O' Within 'X' Boundary· Graphs
Amazon
Microsoft
Graph · DFS · BFS
Word Transformation Sequence· Graphs
Amazon
Microsoft
Google
+1
Graph · BFS · Hashing
Bipartite Graph — DFS· Graphs
Amazon
Google
Graph · DFS · BFS
Task Completion I· Graphs
Amazon
Google
Graph · Topological Sort · BFS
Task Completion II· Graphs
Amazon
Google
Graph · Topological Sort · BFS
Alien Dictionary Sort· Graphs
Amazon
Google
Meta
Graph · Topological Sort · Strings
Minimum Effort Path· Graphs
Amazon
Google
Graph · Heap · Binary Search
Cheapest Flight within K Stops· Graphs
Amazon
Google
Graph · Bellman-Ford · Dynamic Programming
City With Least Neighbors· Graphs
Amazon
Graph · Floyd Warshall
Merge User Profiles· Graphs
Amazon
Google
Graph · Union Find · Hashing
Largest Connected Group· Graphs
Amazon
Graph · Union Find
Climbing Stairs· Dynamic Programming
Amazon
Microsoft
Adobe
Dynamic Programming · Recursion
Amazon
Microsoft
Google
Dynamic Programming · Arrays
House Robber II· Dynamic Programming
Amazon
Microsoft
Dynamic Programming · Arrays
Amazon
Microsoft
Google
Dynamic Programming · Arrays
Unique Paths II· Dynamic Programming
Amazon
Microsoft
Dynamic Programming · Arrays
Minimum Path Sum· Dynamic Programming
Amazon
Microsoft
Google
Dynamic Programming · Arrays
Amazon
Microsoft
Dynamic Programming · Arrays
Partition Equal Subset Sum· Dynamic Programming
Amazon
Microsoft
Google
Dynamic Programming · Arrays
Possible Coin Combinations· Dynamic Programming
Amazon
Microsoft
Dynamic Programming · Arrays
Target Expression Count· Dynamic Programming
Amazon
Dynamic Programming · Recursion
Longest Common Subsequence· Dynamic Programming
Amazon
Microsoft
Google
+1
Dynamic Programming · Strings
Longest Palindromic Subsequence· Dynamic Programming
Amazon
Microsoft
Google
Dynamic Programming · Strings
Minimum Deletions to Make Strings Equal· Dynamic Programming
Amazon
Microsoft
Dynamic Programming · Strings
Shortest Common Supersequence· Dynamic Programming
Amazon
Google
Dynamic Programming · Strings
Amazon
Microsoft
Google
+1
Dynamic Programming · Strings
WildCard Matching· Dynamic Programming
Amazon
Google
Meta
Dynamic Programming · Strings
Stock Trading II· Dynamic Programming
Amazon
Microsoft
Dynamic Programming · Greedy · Arrays
Stock Trading III· Dynamic Programming
Amazon
Microsoft
Dynamic Programming · Arrays
Stock Trading IV· Dynamic Programming
Amazon
Google
Dynamic Programming · Arrays
Buy and Sell Products with Transaction Fee· Dynamic Programming
Amazon
Dynamic Programming · Greedy · Arrays
Building a Growing Sequence of Heights· Dynamic Programming
Amazon
Microsoft
Google
Dynamic Programming · Arrays · Binary Search
Find the Largest Divisible Chain· Dynamic Programming
Amazon
Dynamic Programming · Arrays · Sorting
Longest Increasing Subsequence Count· Dynamic Programming
Amazon
Dynamic Programming · Arrays
Maximum Coins from Bursting Bubbles· Dynamic Programming
Amazon
Google
Dynamic Programming · Recursion
Maximal Unity Rectangle Discovery· Dynamic Programming
Amazon
Google
Dynamic Programming · Stack · Monotonic Stack
Implementation of Tries I· Tries
Amazon
Google
Microsoft
Trie · Strings
Implementation of Tries II· Tries
Amazon
Google
Trie · Strings
Maximum XOR of Two Numbers· Tries
Amazon
Google
Microsoft
Trie · Bit Manipulation
Min Additions To Make Parentheses Valid· Strings — Advanced Algorithms
Amazon
Google
Strings · Stack · Greedy
Number of Palindromic Substrings· Strings — Advanced Algorithms
Amazon
Microsoft
Google
Strings · Dynamic Programming · Two Pointers