in reply to Re (tilly) 1: (Golf) Building a Better Binary Tree
in thread (Golf) Building a Better Binary Tree

Unfortunately, it doesn't work. Easily fixed by changing the last statement to %$x. 54 characters.

I do have an aesthetic issue with it - your code produces the worst possible tree, not a nearly-optimal tree. :-)

------
We are the carpenters and bricklayers of the Information Age.

Don't go borrowing trouble. For programmers, this means Worry only about what you need to implement.