IBM Ponder This 03-12 Solved

Credited with solving this puzzle:

Ponder This Challenge:

Arrange the numbers 1, 2, 3,…, 63 on the nodes of a balanced binary tree of height 6 such that each distance 1, 2, 3,…, 62 is realized on an edge; i.e., it is the difference of two vertices which are connected with an edge.

Please supply the answer as a list of 63 numbers from top to bottom, left to right.

For example, here is a solution of the same problem for a tree of height 3 realizing all distances of 1, 2 ,.., 6:

Provide your answers in regular text format. The above solution, for example, in regular text format would be 7, 1, 3, 6, 4, 5, 2.

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.