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
Binary Gap
Easy
Math
Two Pointers
★
LeetCode #868
Binary Number with Alternating Bits
Easy
Math
Greedy
★
LeetCode #693
Check Completeness of a Binary Tree
Medium
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
Trees
BFS (Breadth-First Search)
★
Binary Tree Traversal
LeetCode #958
Binary Prefix Divisible By 5
Easy
Math
Arrays
Prefix Sum
★
LeetCode #1018
Binary Search Tree Iterator
Medium
Trees
Stack
Binary Tree Traversal
Monotonic Stack
★
LeetCode #173
Binary Search Tree to Greater Sum Tree
Medium
Trees
DFS (Depth-First Search)
★
Binary Tree Traversal
LeetCode #1038
Binary Search
Easy
Arrays
Binary Search
Binary Search
★
LeetCode #704
Design Circular Queue
Medium
Arrays
Queue
Two Pointers
★
LeetCode #622
Binary String With Substrings Representing 1 To N
Medium
Strings
Math
Sliding Window
★
LeetCode #1016
Binary Subarrays With Sum
Medium
Arrays
Hash Tables
Sliding Window
★
Prefix Sum
LeetCode #930
Binary Tree Cameras
Hard
Trees
Dynamic Programming
DFS (Depth-First Search)
★
Greedy
LeetCode #968
Binary Tree Coloring Game
Medium
Trees
DFS (Depth-First Search)
★
Binary Tree Traversal
LeetCode #1145
Binary Tree Inorder Traversal
Easy
Trees
Stack
Recursion
Binary Tree Traversal
★
DFS (Depth-First Search)
LeetCode #94
Binary Tree Level Order Traversal II
Medium
Trees
Queue
BFS (Breadth-First Search)
★
Binary Tree Traversal
LeetCode #107
Binary Tree Level Order Traversal
Medium
Queue
Trees
BFS (Breadth-First Search)
★
Binary Tree Traversal
LeetCode #102
Binary Tree Maximum Path Sum
Hard
Trees
Recursion
Dynamic Programming
DFS (Depth-First Search)
★
Dynamic Programming
LeetCode #124
Binary Tree Preorder Traversal
Easy
Recursion
Stack
Trees
Binary Tree Traversal
★
DFS (Depth-First Search)
LeetCode #144
Binary Tree Pruning
Medium
Trees
Recursion
DFS (Depth-First Search)
★
Binary Tree Traversal
LeetCode #814
Binary Tree Right Side View
Medium
Trees
BFS (Breadth-First Search)
★
DFS (Depth-First Search)
Binary Tree Traversal
LeetCode #199
01 Matrix
Medium
Arrays
Graphs
BFS (Breadth-First Search)
★
Matrix Traversal
Dynamic Programming
LeetCode #542