Problem 662 · Medium
Index nodes as a complete tree; a level is as wide as the gap between its outermost indices.
Open the interactive visualisation