A root node is a specially chosen node in a tree data structure at which all operations on the tree begin. It is not the child of any other node, and all other nodes can be reached from it by following edges or links. (In the formal definition, each such path is also unique). In diagrams, it is typically drawn at the top. In some trees, such as heaps, the root node has special properties. Every node in a tree can be seen as the root node of the subtree rooted at that node.
This article is licensed under the GNU Free Documentation License.
It uses material from the
"Root node".
Home Page • arts • business • computers • games • health • hospitals • home • kids & teens • news • physicians • recreation• reference • regional • science • shopping • society • sports • world