01:19:59duration 1 hour 19 minutes
Apr 30 — Undecidability via reductions and…
Apr 30 — Undecidability via reductions and Rice's theorem
Class recording
Apr 28 — Undecidability: Review of (Turing)…
Apr 28 — Undecidability: Review of (Turing) machines, SelfReject, the halting problem
01:20:00duration 1 hour 20 minutes
Apr 23 — NP-hardness: Vertex Cover to…
Apr 23 — NP-hardness: Vertex Cover to Subset Sum, why bother, choosing which problem to reduce from
Apr 21 — NP-hardness: 3SAT to Independent…
Apr 21 — NP-hardness: 3SAT to Independent Set, 3SAT to HamiltonianCycle
Apr 16 — P, NP, NP-complete, SAT, and 3SAT
Apr 14 — (Polynomial time) reductions:…
Apr 14 — (Polynomial time) reductions: independent set and friends
02:06:34duration 2 hours 6 minutes
Midterm 2 Practice 3
01:48:00duration 1 hour 48 minutes
Midterm 2 Practice 2
Midterm 2 Practice 1
April 7 — Greedy algorithms: interval…
April 7 — Greedy algorithms: interval scheduling and job scheduling
April 2 — Shortest paths with negative…
April 2 — Shortest paths with negative lengths via DP; all-pairs shortest paths via DP
March 31 — Shortest paths: BFS and…
March 31 — Shortest paths: BFS and Dijkstra's algorithm
Mar 26 — DFS, topological sort, and strong…
Mar 26 — DFS, topological sort, and strong connected components
Mar 24 — Graphs, basic search
Mar 12 – Tree shaped dynamic programming:…
Mar 12 – Tree shaped dynamic programming: maximum weight independent set in a tree, inclusion in a context-free language
Mar 10 — More dynamic programming: word…
Mar 10 — More dynamic programming: word splitting, subset sum
Mar 05 — Dynamic programming: longest…
Mar 05 — Dynamic programming: longest increasing subsequence, longest common subsequence
Mar 03 — Backtracking: maximum independent…
Mar 03 — Backtracking: maximum independent set, longest increasing subsequence
Feb 26 — Divide and conquer: linear-time…
Feb 26 — Divide and conquer: linear-time selection, multiplication
Feb 24 – Recursion: Tower of Hanoi,…
Feb 24 – Recursion: Tower of Hanoi, mergesort, quicksort
01:28:36duration 1 hour 28 minutes
Midterm 1 Practice 3
02:23:59duration 2 hours 23 minutes
Midterm 1 Practice 2
47:28duration 47 minutes 28 seconds
Midterm 1 Practice 1 Part II
Midterm 1 Practice 1 Part I