The depth of a complete binary tree is given by
-
Dn = n log2n
-
Dn = n log2n+1
-
Dn = log2n
-
Dn = log2n+1
D
Correct answer
Explanation
The depth of a complete binary tree is the number of levels from root to deepest leaf. For n nodes, the depth equals ⌊log₂n⌋ + 1 because a tree of depth d can hold at most 2^d - 1 nodes. This logarithmic relationship reflects how nodes double at each level in a perfect binary tree.