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 401 questions
Arithmetic Slices
Medium
Arrays
Dynamic Programming
Dynamic Programming
★
LeetCode #413
Array Nesting
Medium
Arrays
DFS (Depth-First Search)
★
LeetCode #565
Array of Doubled Pairs
Medium
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
Sorting
Arrays
Hash Tables
Greedy
★
LeetCode #954
Array Partition
Easy
Arrays
Sorting
Greedy
★
LeetCode #561
Array With Elements Not Equal to Average of Neighbors
Medium
Arrays
Sorting
Greedy
★
LeetCode #1968
As Far from Land as Possible
Medium
Arrays
Graphs
BFS (Breadth-First Search)
★
Matrix Traversal
LeetCode #1162
Assign Cookies
Easy
Arrays
Two Pointers
Sorting
Greedy
Two Pointers
★
LeetCode #455
Asteroid Collision
Medium
Arrays
Stack
Monotonic Stack
★
LeetCode #735
Available Captures for Rook
Easy
Arrays
Matrix Traversal
★
LeetCode #999
Average of Levels in Binary Tree
Easy
Queue
Trees
BFS (Breadth-First Search)
★
Binary Tree Traversal
LeetCode #637
Average Salary Excluding the Minimum and Maximum Salary
Easy
Sorting
Arrays
Greedy
★
LeetCode #1491
Average Value of Even Numbers That Are Divisible by Three
Easy
Arrays
Math
Prefix Sum
★
LeetCode #2455
Average Waiting Time
Medium
Arrays
Greedy
★
LeetCode #1701
Avoid Flood in The City
Medium
Arrays
Hash Tables
Greedy
Binary Search
★
LeetCode #1488
Candy
Hard
Arrays
Greedy
★
LeetCode #135
Backspace String Compare
Easy
Strings
Stack
Two Pointers
Two Pointers
★
LeetCode #844
Bag of Tokens
Medium
Sorting
Arrays
Two Pointers
Two Pointers
★
Greedy
LeetCode #948
Balance a Binary Search Tree
Medium
Trees
Binary Tree Traversal
★
DFS (Depth-First Search)
LeetCode #1382
Balanced Binary Tree
Easy
Trees
Recursion
DFS (Depth-First Search)
★
Binary Tree Traversal
LeetCode #110
01 Matrix
Medium
Arrays
Graphs
BFS (Breadth-First Search)
★
Matrix Traversal
Dynamic Programming
LeetCode #542