Implementation of Heavy-Light Decomposition

People who can please write Implementation of Heavy-Light Decomposition(with comments if you can). Couldn’t find any good implementation.

Thanks!!!

1 Like

Visit:http://ideone.com/dPS5N

https://sites.google.com/site/indy256/algo/heavy_light

3 Likes

thanx for this beautiful link :slight_smile:

//