Mindmap
Tree
Inhalt der Mindmap
Tree
Introduction
- Data structure in which one node is connected with several other nodes and those nodes are connected to several other nodes
- It represents data which contains hierarchical relationship between elements.
Advantages
- Reflects structural relationship between the records of data
- Insertion and searching can be done efficiently in trees
- Trees are very flexible data structures, allowing to move sub-trees around with minimum efforts.
Terminologies
- Node: every element in tree
- Root:Node placed at top
- Leaf Node: bottom most node
- Degree of node: total No. of child node
- Level of node: The generation of node
Types
- General tree: All nodes have any No. of child nodes.
- Binary tree: Any node can have maximum two child node
- Binary search tree: The left subtree of a node contains only nodes with keys lesser than the node’s key. The right subtree of a node contains only nodes with keys greater than the node’s key.
Informationen
- Beschreibung
- Mindmap am Tree, erstellt von Mitali Maurya am 07/12/2021.
- Erstellt von
- Mitali Maurya
- Aufrufe
- 0
- Bewertung