I remember that something like an year ago someone showed me a problem on some OJ where it was required to answer queries on a tree. This might sound super common, but the cool thing about the problem was that a lot of different types of queries could be asked, iirc there were at least 7 or even 8 different kind of queries.
Does anyone recall a similar problem? Thanks!
https://dmoj.ca/problem/ds5
It was exactly this one, wow! Thank you so much :)