From charlesreid1

(Created page with "==Depth-first traversal with recursion== depth first traversal method for trees: * Preorder traversal * Postorder traversal * Inorder traversal ==Flags== {{Tree...")
 
No edit summary
Line 1: Line 1:
==Depth-first traversal with recursion==
==Depth-first Traversal==


depth first traversal method for trees:
See [[DFS|depth-first search]]
* [[Preorder]] traversal
 
* [[Postorder]] traversal
==Related==
* [[Inorder]] traversal
 
{{TraversalRelated}}


==Flags==
==Flags==

Revision as of 15:50, 7 September 2017

Depth-first Traversal

See depth-first search

Related

Graphs:

Traversals on trees:

Breadth-first search and traversal on trees:

  • BFS - breadth first search
  • BFT - breadth first traversal

Depth-first search and traversal on trees:

  • DFS - depth first search
  • DFT - depth first traversal

OOP design patterns:

Category:Traversal

Flags