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 height of the tree?
Alog n
Bn log n
Cn – 1正確答案
Dn2
答案與詳解
這題的完整詳解,註冊就能看 · 每天 2 題免費
Examly 收錄 50 萬+ 道歷屆題目,每題都有像這樣的精選詳解。免費下載,立即開練。
