AntInLoop

Heavy-Light Decomposition Game — Heavy Child & Chain Challenge

Pick each parent heavy child (largest subtree size) on a live SVG tree to decompose paths into O(log n) chains.

Time Complexity: O(log^2 n)

Study the algorithm · Watch Visualizer · All Algorithm Games