Problem 1104 · Medium

Path In Zigzag Labelled Binary Tree

Undo the zigzag labels row by row, so the parent is found with the ordinary halving rule.

Open the interactive visualisation