Hey. In this post I`d like to give some tasks on centroid decomposition.
There`re useful links below
https://neerc.ifmo.ru/wiki/index.php?title=Centroid_decomposition
https://mirror.codeforces.com/blog/entry/73707
Also some tasks on this topic
Hey. In this post I want to give some tasks on convex hull trick. There are some useful posts about CHT below. https://mirror.codeforces.com/blog/entry/63823
https://neerc.ifmo.ru/wiki/index.php?title=Convex_hull_trick
There are some task on this topic
1083E - The Fair Nut and Rectangles