Source: wikibot/tree-traversal

= Tree traversal
{wiki=Tree_traversal}

Tree traversal is the process of visiting each node in a tree data structure in a specific order. It is a fundamental operation used in various tree algorithms, including searching, sorting, and data processing. There are several methods to perform tree traversal, each with its own order of visiting nodes.