Can someone provide link to some questions which uses MO’s algorithm on trees …
The only one I’ve ever seen: CodeChef: Practical coding for everyone