Re:Dissecting an interview question
by bratfarrar on Tuesday March 18, 2014 @01:07PM
(#7423238)
Time for BST code golf - winner does it in the fewest characters!
[ Parent
| on HN ]
Re:Dissecting an interview question
by raverbashing on Tuesday March 18, 2014 @03:02PM
(#7424186)
Well, depends on the language
It could be funny to test with a trinary or quaternary tree,(then you have 3 or 4 - or n - children) based on a different processing of the value
For example, storing complex numbers and the child corresponds to the angle relative to the parent