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)