書上資料寫著 the depth of a tree is the largest level number of the tree.
可是其他資料有寫著是 樹根到節點最長的距離
那
A(B,C(d))
depth是 3 還是 2?
那 A binary tree with depth k is called a full binary tree if and only if it has 2^k-1 怎麼解釋?
收錄日期: 2021-04-15 18:51:46
原文連結 [永久失效]:
https://hk.answers.yahoo.com/question/index?qid=20150317000051KK00053