Problem 2641 · Medium
Group each level by parent, then replace every value with the level total minus its sibling group.
Open the interactive visualisation