Come for the quick hacks, stay for the epiphanies. | |
PerlMonks |
Re: Golf: Tree searchingby koolade (Pilgrim) |
on Apr 19, 2001 at 23:01 UTC ( [id://73933]=note: print w/replies, xml ) | Need Help?? |
I haven't been able to get some of the answers to work. Maybe I have a different image of the data structure. Can somebody post what they've been working with? Here's what I'm using to test:
And here's a solution in 92 chars, that puts the tree into a single hash, and searches using the hash:
Speak up if I missed something.
In Section
Meditations
|
|