Can you provide some sources to learn theses types of DP problems?
What do you mean by these types of DP?
Dp on trees I mean
I don’t have any in mind right now, but for example, you can go to Codeforces and filter problems by the tags DP & trees.
I think these might be helpful:
They both involve some kind of merge-small-to-large tree DP.
Thanks a lot!
This might also be useful
That’s a very good tutorial for basic DP on trees, thanks for sharing