[plt-scheme] Help: I want to travel a binary tree?
Why don't you define a tree like this
(1 (2 (4 () ()) (5 () ())) (3 (6 () ()) (7 () ()))
?
--Hans
Op 31/7/2007 schreef "Zeng Fucen" <zengfucen at gmail.com>:
>I'm a scheme novice,
>
>I want to travel a binary tree, how to ? (depth first)
>
>Thanks for your tips , first!
>
>I define a tree like this: (1 (2 4 5) (3 6 7))
>
>_________________________________________________
> For list-related administrative tasks:
> http://list.cs.brown.edu/mailman/listinfo/plt-scheme
>
>