Tree traversal: Difference between revisions
Content added Content deleted
Line 4,963: | Line 4,963: | ||
level-order: 1 2 3 4 5 6 7 8 9</pre> |
level-order: 1 2 3 4 5 6 7 8 9</pre> |
||
=== |
===Data.Tree nodes=== |
||
Writing the first three traversals in terms of '''foldTree''', and the last as '''concat . levels''': |
Writing the first three traversals in terms of '''foldTree''', and the last as '''concat . levels''': |
||