Algorithm Topics & Data Structures
Master 171 algorithm topics and data structures with targeted practice. Each topic contains real interview questions from top tech companies, organized by difficulty and frequency.
171
Total Topics
13
Data Structures
11
Algorithms
10
Techniques
Most Popular Topics
Array
5242 interview problems
Practice Problems →
String
2167 interview problems
Practice Problems →
Hash Table
2036 interview problems
Practice Problems →
Dynamic Programming
1535 interview problems
Practice Problems →
Math
1407 interview problems
Practice Problems →
Sorting
1347 interview problems
Practice Problems →
Depth-First Search
1106 interview problems
Practice Problems →
Greedy
973 interview problems
Practice Problems →
Binary Search
942 interview problems
Practice Problems →
Data Structures
Algorithms
Techniques
System Design
Other Topics
Graph Theory
489 problems
Union-Find
318 problems
Ordered Set
189 problems
Number Theory
153 problems
Topological Sort
134 problems
Segment Tree
132 problems
DP on Trees
98 problems
Hash Function
89 problems
Data Stream
86 problems
Shortest Path
84 problems
Bitmask
83 problems
Bracket Sequences
79 problems
Directed Acyclic Graph
77 problems
Combinatorics
76 problems
String Matching
74 problems
Doubly-Linked List
72 problems
Binary Indexed Tree
69 problems
Greatest Common Divisor
63 problems
Knapsack Problem
56 problems
Euclidean Algorithm
56 problems
Game Theory
55 problems
Merge Sort
53 problems
Dijkstra's Algorithm
53 problems
Rolling Hash
50 problems
Bidirectional Search
48 problems
Randomized
47 problems
Quicksort
46 problems
Minimax
43 problems
Bucket Sort
42 problems
Binary Lifting
42 problems
Z Algorithm
40 problems
Lowest Common Ancestor
40 problems
Counting Sort
39 problems
Quickselect
38 problems
Brainteaser
37 problems
Floyd's Cycle Finding Algorithm
34 problems
Longest Increasing Subsequence
33 problems
Knuth–Morris–Pratt Algorithm
32 problems
Sweep Line
30 problems
Complete Knapsack
28 problems
0-1 Knapsack
27 problems
Pigeonhole Principle
25 problems
Longest Common Subsequence
25 problems
Zero-Sum Game
25 problems
Bipartite Graph
25 problems
Prime Factorization
25 problems
Boyer–Moore String-Search Algorithm
24 problems
Iterator
24 problems
Range Minimum/Maximum Query
23 problems
Bubble Sort
23 problems
Heuristic Search
23 problems
A* Search
23 problems
Graph Coloring
23 problems
Sieve Theory
22 problems
Treap
22 problems
Primality Test
21 problems
Manacher
19 problems
Algorithm X
19 problems
Minimum Spanning Tree
18 problems
Fermat's Little Theorem
17 problems
Polygons
16 problems
Prime Number Sieve
15 problems
Linear Algebra
15 problems
Tournament Sort
13 problems
Kosaraju's Algorithm
13 problems
Tarjan's SCC Algorithm
13 problems
Prim's Algorithm
13 problems
Kruskal's Algorithm
13 problems
Borůvka's Algorithm
13 problems
Boyer–Moore Majority Vote Algorithm
12 problems
Brute-Force Search
12 problems
Bellman–Ford Algorithm
12 problems
Floyd–Warshall Algorithm
12 problems
Meet in the Middle
12 problems
Least Common Multiple
12 problems
Radix Sort
11 problems
Eulerian Circuit
11 problems
Eulerian Path
11 problems
Probability and Statistics
11 problems
Suffix Array
11 problems
Impartial Game
11 problems
Shell
11 problems
Newton's Method
10 problems
Ternary Search
10 problems
Semi-Eulerian Graph
10 problems
Cartesian Tree
10 problems
Suffix Automaton
9 problems
Suffix Tree
9 problems
Bézout's Lemma
9 problems
Extended Euclidean Algorithm
9 problems
Flow Network
9 problems
Dancing Links
8 problems
Reservoir Sampling
8 problems
K-D Tree
8 problems
Aho–Corasick Algorithm
8 problems
Successive Shortest Path Algorithm
8 problems
Persistent Data Structure
7 problems
Nim Game
7 problems
Matching (Graph)
7 problems
Hungarian Algorithm
7 problems
0-1 BFS
6 problems
Sqrt Decomposition
6 problems
Hamiltonian Path
6 problems
Sort
6 problems
Timsort
5 problems
Biconnected Component
5 problems
Bridge (Graph)
5 problems
Sprague–Grundy Theorem
5 problems
Rejection Sampling
5 problems
Inclusion-Exclusion Principle
5 problems
Triangulation
5 problems
Strongly Connected Component
5 problems
Minimum-Cost Flow
4 problems
Euler's Totient Function
4 problems
Euler's Theorem
4 problems
Edmonds–Karp Algorithm
4 problems
MPM Algorithm
4 problems
Push-Relabel Algorithm
4 problems
Dinic's Algorithm
4 problems
Planar Graph
4 problems
Maximum Flow
3 problems
Maximum Matching
3 problems
Lyndon Factorization
3 problems
Convex Hull
2 problems
K Shortest Path
2 problems
Minimum Cut
2 problems
Perfect Matching
2 problems
Eulerian Graph
1 problems
Mixed Knapsack
1 problems
Splay Tree
1 problems
Minimum Enclosing Circle
1 problems
Articulation Point
1 problems
Lexicographically Minimal String Rotation
1 problems
Nearest Pair of Points
1 problems