Can someone please explain how to approach this problem using centroid tree decomposition. Problem Link-> https://www.codechef.com/problems/BTREE
Can someone please explain how to approach this problem using centroid tree decomposition. Problem Link-> https://www.codechef.com/problems/BTREE