cid 2176ad80cd7df9792475463ff4db86a213300ffa52314d1b982fd8479dcbec22 · original · open access · via wikipedia
Title: Tree (abstract data type) Authors: Venue: Wikipedia Year: unknown Canonical: wiki:tree-abstract-data-type URL: https://en.wikipedia.org/wiki/Tree_(abstract_data_type) Collector: wikipedia OA: true ABSTRACT In computer science, a tree is a widely used abstract data type that represents a hierarchical tree structure with a set of connected nodes. Each node in the tree can be connected to many children, but must be connected to exactly one parent, except for the root node, which has no parent. These constraints mean there are no cycles or "loops", and also that each child can be treated like the root node of its own subtree, making recursion a useful technique for tree traversal. In contrast to linear data structures, many trees cannot be represented by relationships between neighboring nodes in a single straight line.