Foundations
Math for computing
The math behind DSA: growth rates, logarithms, summations, combinatorics, modular arithmetic, probability, and graph theory - visualized and animated.
Start here (3)
Core topics. Read these three in order; together they explain why log n stays small, why nested loops are ~n², and why divide-and-conquer is n log n.
Growth rates & Big-O curves
Plot O(1)…O(n!) on one chart; watch how each bound scales as n grows.
Logarithms & exponents
Why log n appears in divide-and-conquer; exponent rules behind O(2ⁿ).
Summations & series
Arithmetic and geometric series that underpin merge sort and heap analysis.
Applied
Applied topics where those fundamentals appear in hashing, DP, and graphs, each with an interactive demo.
Combinatorics basics
Permutations n!, combinations, subsets 2ⁿ - visualized with small n.
Modular arithmetic
Mod, congruences, inverses, Fermat - underpins hashing and prefix-mod DP.
Probability & expected value
Why hash map average is O(1); randomized algorithms and expected counts.
Graph theory foundations
Vertices, edges, degrees, paths and cycles; BFS/DFS complexity from adjacency.