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 228 questions
Beautiful Arrangement
Medium
Arrays
Recursion
Backtracking
★
LeetCode #526
Beautiful Array
Medium
Arrays
Math
Dynamic Programming
★
LeetCode #932
1
2
3
4
5
6
7
8
9
10
11
12
Best Sightseeing Pair
Medium
Arrays
Dynamic Programming
Greedy
★
LeetCode #1014
Best Team With No Conflicts
Medium
Arrays
Dynamic Programming
Sorting
Dynamic Programming
★
LeetCode #1626
Best Time to Buy and Sell Stock II
Medium
Arrays
Dynamic Programming
Greedy
★
LeetCode #122
Best Time to Buy and Sell Stock with Cooldown
Medium
Arrays
Dynamic Programming
Dynamic Programming
★
LeetCode #309
Best Time to Buy and Sell Stock with Transaction Fee
Medium
Arrays
Dynamic Programming
Dynamic Programming
★
Greedy
LeetCode #714
Check Completeness of a Binary Tree
Medium
Trees
BFS (Breadth-First Search)
★
Binary Tree Traversal
LeetCode #958
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
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 Coloring Game
Medium
Trees
DFS (Depth-First Search)
★
Binary Tree Traversal
LeetCode #1145
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 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
Integer Break
Medium
Math
Dynamic Programming
Dynamic Programming
★
Greedy
LeetCode #343
01 Matrix
Medium
Arrays
Graphs
BFS (Breadth-First Search)
★
Matrix Traversal
Dynamic Programming
LeetCode #542