wisconsin
Lecture 02: Divide and Conquer

Lecture 02: Divide and Conquer

Content locked

The catalog is public. Reading this content requires approved access.

Sign in to read
Lecture 02: Divide and Conquer
Announcements
Divide, conquer, combine
Think one recursive step, not the entire call stack
Sorting and insertion sort
Merge sort
The merge procedure
Recurrence and recursion tree
Proving the bound by induction
Master Theorem
Variations and proof pitfalls
Uneven but constant-fraction splits
The false linear-time induction
Three-way splitting and practice questions
Faster polynomial multiplication
Four recursive products
Three recursive products
Connections