832 B
832 B
slug | title | author | order | prerequisites | ||||
---|---|---|---|---|---|---|---|---|
/gold/dp-trees | Dynamic Programming on Trees | Michael Cao | 8 |
|
Tutorial
Problems
- Subtree
- Independent Set
- Gold - Barn Painting
- Similar to Independent Set
- Gold - Delegation
- Good rule of solving DP problems applies here: don't just dive into trying to figure out a DP state and transitions, and make some observations about the problem first.