Update text tree.md (#635)

This commit is contained in:
Loc Dinh
2026-03-20 12:27:01 +07:00
committed by GitHub
parent 7b41c7d9e2
commit adb77f4e32

View File

@@ -50,7 +50,7 @@ Trees are commonly used to represent hierarchical data, e.g. file systems, JSON,
- **Ancestor** - A node reachable by traversing its parent chain
- **Descendant** - A node in the node's subtree
- **Degree** - Number of children of a node
- **Degree** of a tree - Maximum degree of nodes in the tree
- **Degree of a tree** - Maximum degree of nodes in the tree
- **Distance** - Number of edges along the shortest path between two nodes
- **Level/Depth** - Number of edges along the unique path between a node and the root node
- **Width** - Number of nodes in a level