Try it free

← All courses

Purdue University Fundamental Algorithms (Fall 2026)

Professor Kent Quanrud · Purdue University · 20 lectures with notes

Every lecture with its full transcript and chapters, and one search across all 20 lectures.

Randomized Searching and Sorting

27 Nov 2026

Linearity of expectation turns complex randomized algorithms into tractable analyses, and conditional expectation can remove randomness while preserving a 3-SAT guarantee.

Lazy data structures

23 Nov 2026

Amortized analysis makes simple data structures practical by proving that occasional expensive operations are paid for across a sequence.

Network Flow

6 Nov 2026

Edmonds-Karp finds maximum flow in O(M²N) by repeatedly augmenting along shortest residual paths.

Applications of Flows and Cuts

6 Nov 2026

Flow and cut networks turn matching, scheduling, project selection, and graph-orientation problems into tractable optimization models.

Spanning Trees

1 Nov 2026

A good-edge characterization explains why Kruskal's, Borůvka's, and Prim's algorithms produce minimum spanning trees.

Packing and Covering Paths

1 Nov 2026

Residual-graph augmentations make greedy path packing optimal and reveal a minimum S-T cut.

NP-Complete

25 Oct 2026

Polynomial-time verification and reductions link many natural search problems into the NP-complete class, leaving P versus NP unresolved.

Independent set

24 Oct 2026

Independent set is hard on general graphs but efficiently solvable on intervals and trees by exploiting their structure.

The longest path

16 Oct 2026

Longest path is tractable on DAGs but Hamiltonian path is hard on general graphs; structure determines which case applies.

2-SAT and Max 2-SAT

10 Oct 2026

2-SAT is solvable in linear time via strongly connected components, while Max 2-SAT is NP-hard through a score-separating reduction from 3-SAT.

Subset Sum and the Secret Language of Numbers

10 Oct 2026

A digit-by-digit reduction from 3-SAT shows how subset sum numbers can encode Boolean constraints.

SAT: A different kind of search problem

27 Sep 2026

Auxiliary variables reduce general Boolean SAT and circuit SAT to 3-SAT without polynomial-size blowup.

Negative-length shortest paths and all-pairs shortest paths

26 Sep 2026

Bounded-edge dynamic programming handles negative cycles, while Floyd–Warshall computes all-pairs shortest paths in O(n³).

Searching and Sorting Graphs

20 Sep 2026

DFS finishing times and reversed edges combine to find every strongly connected component in linear time.

Shortest Paths

20 Sep 2026

BFS and Dijkstra solve shortest paths efficiently; expanded-state graphs turn edge-count constraints into ordinary shortest-path problems.

Edit Distance and Matrix Chain Multiplication

11 Sep 2026

Memoization turns recursive edit distance into O(mn), and interval splits solve matrix-chain ordering in O(k³).

Selection and closest pair

4 Sep 2026

Groups of five yield a guaranteed linear-time selection algorithm; geometric packing makes planar closest pair solvable in O(n log n).

Multiplication and Fast Fourier Transforms

4 Sep 2026

Karatsuba multiplication and the FFT show how algebraic reformulations turn quadratic work into faster divide-and-conquer algorithms.

Searching and sorting

31 Aug 2026

Merge sort achieves O(n log n), matching the Ω(n log n) lower bound for comparison-based sorting.

Induction and recursion

31 Aug 2026

A clear recursive specification turns induction into a practical method for designing and proving algorithms.

Keep the lectures you learn from

Paste a video, playlist, or channel URL to get transcripts, AI summaries with clickable timestamps, and search across everything.

Get started free