Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

Re (tilly) 2: (Golf) Building a Better Binary Tree

by tilly (Archbishop)
on Oct 09, 2001 at 22:33 UTC ( [id://117826] : note . print w/replies, xml ) Need Help??


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

The spec did not say you could assume a prototyped comparison function, and the example given in the spec was not prototyped. Therefore I do not consider this a solution. (If we could change conditions, I would love to put the subroutine at the end so I could pop rather than shift. No go.)
  • Comment on Re (tilly) 2: (Golf) Building a Better Binary Tree