previous
|
index
|
next
Traversal Application: Drawing Trees
We can use tree traversals to draw trees on the screen, so that, for example:
(draw-tree (list->bstree '(7 5 3 1 6 2 4)))
causes the following to be drawn on the screen as a side effect:
previous
|
index
|
next