This repository has been archived on 2022-06-22. You can view files and clone it, but cannot push or open issues or pull requests.
usaco-guide/content/5_Gold/8_Gold_DP_Trees.md

27 lines
832 B
Markdown
Raw Normal View History

2020-06-09 16:36:07 +00:00
---
slug: /gold/dp-trees
title: "Dynamic Programming on Trees"
author: Michael Cao
order: 8
prerequisites:
-
- Silver - Depth First Search
-
- Gold - Introduction to Dynamic Programming
---
<!-- END DESCRIPTION -->
## Tutorial
* [DP on Trees (Codeforces)](https://codeforces.com/blog/entry/20935)
* ??
## Problems
* [Subtree](https://atcoder.jp/contests/dp/tasks/dp_v)
* [Independent Set](https://atcoder.jp/contests/dp/tasks/dp_p)
* [Gold - Barn Painting](http://www.usaco.org/index.php?page=viewproblem2&cpid=766)
* Similar to Independent Set
* [Gold - Delegation](http://usaco.org/index.php?page=viewproblem2&cpid=1019)
* 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.