Tree traversal: Difference between revisions

Content deleted Content added
Traversal methods: wiki link recursive algorithm
merge?
Line 1:
{{Tree search algorithm}}
 
{{merge|Tree search algorithm}}
 
In [[computer science]], '''tree traversal''' is the process of visiting each node in a [[tree data structure]]. Tree traversal, also called '''walking the tree''', provides for sequential processing of each node in what is, by nature, a non-sequential data structure.
Such traversals are classified by the order in which the nodes are visited.