8 — Fast Exponentiation
Purpose
[stub: fast-exponentiation]
Metadata
| Author | Amit Singh |
| Scope | data-structures-algorithms |
Local graph
Related notes
7 — Matrix Exponentiation
Representing a linear recurrence as matrix multiplication to compute the n-th term in O(log n).
9 — Randomized Algorithms
Algorithms that use randomness for expected-case guarantees — randomized QuickSelect, Monte Carlo vs. Las Vegas framing.
1 — Divide & Conquer Optimization
Speeding up a DP transition using divide-and-conquer or monotonic-decision-boundary tricks (e.g. the DC optimization, Knuth's optimization).
2 — Convex Hull
Finding the smallest convex polygon enclosing a set of points, via Graham scan or the gift-wrapping algorithm.