breadth-first search traversal produces preorder?

132 views Asked by At

Breadth-first search traversal of a tree produces a string with the tree nodes in preorder.

Is the above statement a true assumption to make? If not, please advise with the exception case/s.


Ok, can now see that DFS (not BFS) and preorder are equivalent.

0

There are 0 answers