Tree
Tree Terminology:
1. Root: top node without parents
2. Edge: a link between parent and child
3. Leaf: a node which does not have children
4. Sibling: children of same parent
5. Ancestor: parent, grandparent, great grandparent of a node
6. Depth of node: a length of the path from root to node
7. Height of node: a length of the path from the node to the deepest node
8. Depth of tree: depth of root node
9. Height of tree: height of root node
Комментарии
Отправить комментарий