問題詳情

69. Height of a tree is defined as the length of the path from its root to its farthest leaf node.Now given a binary tree with n nodes, which one of the following is the longest heightof the tree?
(A) log n
(B) n log n
(C) n – 1
(D) n2

參考答案

答案:C
難度:計算中-1
書單:沒有書單,新增