- Sort
- Search
- String processing
- Graph problems
- Combinatorial Problems
- Geometric Problems
- Numerical Problems
- Brute Force
- Divide and Conquer
- Decrease and Conquer
- Dynamic Programming
- Greedy
- Transfer and Conquer
- Backtracking
- Branch and Bound
- Recursive (DFS, BFS)
- Randomized
Categories Link
-
- Deterministic vs. Randomized
-
- Offline vs. Online
-
- Exact vs approximate vs. heuristic vs. operational
-
- Example: Approximation algorithm
Note: Binary Search is included in Divide and Conquer
- log N --- 10 ns
- N --- 1 us
- N * log N --- 20 us
- N ^ 2 --- 1 ms