The depth of a node is the number of links from the root to it. The size of a binary tree is its number of nodes, 0 for the empty tree. Its height is the largest depth of its nodes, and for the empty tree: by induction, and .
书籍暂未推出简体中文版——当前显示英文版。
Computer Science · 术语表
什么是 Depth, size, height?
又称: depth (of a node) · size (of a tree) · height (of a tree)