This blog is for documenting my learning journey in competitive programming. Hope someone enjoys it and finds it helpful for their own learning.
Credit to Usaco Guide and Chatgpt introduced to me a lot of great memory reducing method and a lot of fun problems:
- Before doing Dp on Trees, i would recommend do other simple dp such as knapsack, simple dp, bitmask dp, dp digit..
- If you know the other dp then it would be MUCH MUCH easier to understand dp on tree
Theory



