Heavy-Light Decomposition

Heavy-light decomposition allows us to find the sum, maximum and minimum of paths alongside a tree, and also make updates to nodes along paths.

Resources