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 44 questions
All Elements in Two Binary Search Trees
Medium
Sorting
Trees
Binary Tree Traversal
Two Pointers
★
LeetCode #1305
All Nodes Distance K in Binary Tree
Medium
Trees
Hash Tables
Graphs
BFS (Breadth-First Search)
1
2
3
★
DFS (Depth-First Search)
LeetCode #863
All Possible Full Binary Trees
Medium
Trees
Recursion
Dynamic Programming
Backtracking
Dynamic Programming
★
LeetCode #894
Amount of Time for Binary Tree to Be Infected
Medium
Trees
Hash Tables
Graphs
BFS (Breadth-First Search)
★
Binary Tree Traversal
LeetCode #2385
Average of Levels in Binary Tree
Easy
Queue
Trees
BFS (Breadth-First Search)
★
Binary Tree Traversal
LeetCode #637
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
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 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 Paths
Easy
Strings
Recursion
Trees
DFS (Depth-First Search)
★
Backtracking
Binary Tree Traversal
LeetCode #257
Binary Tree Postorder Traversal
Easy
Recursion
Stack
Trees
DFS (Depth-First Search)
★
Binary Tree Traversal
LeetCode #145
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
Add One Row to Tree
Medium
Trees
Recursion
Queue
BFS (Breadth-First Search)
★
DFS (Depth-First Search)
Binary Tree Traversal
LeetCode #623