Well I found out that the toughest questions in Long Challenge generally involve the following concepts:
- Heavy-Light Decomposition
- Square-Root Decomposition
- Inclusion-Exclusion Principle
Can someone provide some explanation or give some link where i could find the resource to learn them from the very scratch?
It would be highly appreciated!