Downloaded 369 times











A tree is a hierarchical data structure where items are arranged in a sorted sequence. It represents relationships between data items. A tree has a root node at the top with child nodes branching out connected by edges. Each node stores data and links to other nodes. The level of a node indicates its depth from the root with the root being level 0. Siblings are nodes that share the same parent. Leaf nodes have no children while non-terminal nodes have children. The degree of a node is the number of subtrees extending from it.










