Reading Material & Exercises, week 5
The slides for this week are now uploaded (https://github.uio.no/IN3130/h26/tree/main/slides).
Reading material (in Algorithms by Jeff Erickson, https://jeffe.cs.illinois.edu/teaching/algorithms/)
Chapter 3 - Dynamic Programming
If you only want new material read:
- The final part of 3.4 for some advice for how to create dynamic programming solutions
- 3.6
- 3.7
- 3.8,
- 3.9
Regardless, Section 3.2 can be skipped.
Exercises (they are all in Section 3):
- 3.
- 5.
- 18.
- 32.
- 33.
- 52.
Whether you believe it or not the book cover approximately the same is I did in the lecture, without me having read the book before. But, full disclosure, the framing around the Maximum Weighted Independent Set on Trees, was inspired by AI (and presumably the AI took this from this book, perfectly illustrating some of the problems of AI). Everything else was developed independently.
EDIT:
Oh and also we covered Dynamic Programming this week, not NP Completeness as the calendar says.