Skip to main content
CodeTutor
Questions
Categories
Patterns
Progress
CodeTutor - Coding Interview Preparation
Questions
Difficulty
All
Easy
Medium
Hard
Search
Category
All Categories
Arrays (216)
Binary Search (22)
Dynamic Programming (73)
Graphs (37)
Hash Tables (78)
Heap (18)
Linked Lists (13)
Math (76)
Queue (10)
Recursion (51)
Sorting (40)
Stack (32)
Strings (89)
Trees (44)
Two Pointers (31)
Pattern
All Patterns
BFS (Breadth-First Search) (35)
Backtracking (28)
Binary Search (28)
Binary Tree Traversal (36)
Bit Manipulation (4)
Counting / Bucket Sort (2)
Cyclic Sort (0)
DFS (Depth-First Search) (53)
Divide and Conquer (0)
Dynamic Programming (69)
Fast & Slow Pointers (5)
Greedy (75)
Hashing (12)
Heap / Priority Queue (17)
LinkedList In-Place Reversal (6)
Matrix Manipulation (1)
Matrix Traversal (35)
Monotonic Stack (23)
Overlapping Intervals (4)
Prefix Sum (23)
Sliding Window (15)
Synchronization (1)
Topological Sort (1)
Trie (3)
Two Pointers (62)
Union Find (8)
Showing 20 of 216 questions
Find K Closest Elements
Medium
Arrays
Binary Search
Two Pointers
Binary Search
★
Two Pointers
LeetCode #658
Find Minimum in Rotated Sorted Array
Medium
Arrays
Binary Search
Binary Search
1
2
3
4
5
6
7
8
9
10
11
★
LeetCode #153
Find the Duplicate Number
Medium
Arrays
Two Pointers
Fast & Slow Pointers
Binary Search
★
LeetCode #287
Find the Town Judge
Easy
Arrays
Hash Tables
Graphs
Greedy
★
LeetCode #997
First Missing Positive
Hard
Arrays
Hash Tables
Matrix Traversal
★
LeetCode #41
4Sum
Medium
Sorting
Arrays
Two Pointers
Two Pointers
★
LeetCode #18
Gas Station
Medium
Arrays
Greedy
★
LeetCode #134
Hand of Straights
Medium
Sorting
Arrays
Hash Tables
Greedy
★
Heap / Priority Queue
LeetCode #846
House Robber II
Medium
Arrays
Dynamic Programming
Dynamic Programming
★
LeetCode #213
House Robber
Medium
Arrays
Dynamic Programming
Dynamic Programming
★
LeetCode #198
Insert Interval
Medium
Arrays
Overlapping Intervals
★
LeetCode #57
IPO
Hard
Arrays
Heap
Sorting
Greedy
★
Heap / Priority Queue
LeetCode #502
Island Perimeter
Easy
Arrays
Math
Matrix Traversal
★
LeetCode #463
Jump Game II
Medium
Arrays
Dynamic Programming
Greedy
★
LeetCode #45
Jump Game
Medium
Arrays
Dynamic Programming
Greedy
★
Dynamic Programming
LeetCode #55
K Closest Points to Origin
Medium
Arrays
Heap
Sorting
Heap / Priority Queue
★
LeetCode #973
Koko Eating Bananas
Medium
Arrays
Binary Search
Binary Search
★
LeetCode #875
Kth Largest Element in a Stream
Easy
Arrays
Heap
Heap / Priority Queue
★
LeetCode #703
Kth Largest Element in an Array
Medium
Sorting
Arrays
Heap
Heap / Priority Queue
★
Binary Search
LeetCode #215
Largest Rectangle in Histogram
Hard
Arrays
Stack
Monotonic Stack
★
LeetCode #84