heavy-light implementation

I am not able to solve many questions relating to heavy light decomposition of tree,So please help me to understand the concept any links please to thoroughly understand HLD of the tree :slight_smile: Thanx in advance :slight_smile:

1 Like

@adijimmy : An excellent link on Heavy light decomposition is

http://wcipeg.com/wiki/Heavy-light_decomposition < br>
Its really too much to write a big description of the technique that you like better than the above one .

So what I suggest is you read this link , take any one problem based on this technique and write some code and post the code link here on this thread

I will help you debug / implement the correct code on this thread for one problem so that you can understand the technique well .

9 Likes