[理工] 台科101資結
101台科資結兩個小問題
第6題
with respect to singly linked list
(1)give a example when stack is a better choice than a queue
要舉怎樣的例子來說明?
第7題
A binary tree has 64 nodes and what's the possible maximun height and
what's is minimun height?(a tree has only a node has a height of one)
最後的括弧看不太懂在說什麼意思
是在說這棵樹 其中一高只有一個點 還是有什麼其他意思?
還是我可以直接算最大樹高height=64 最小樹高=log(64+1)取上限=7 ?
沒有解答還請各位解答一下
--
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 36.229.32.166
推
01/24 18:59, , 1F
01/24 18:59, 1F
→
01/24 19:00, , 2F
01/24 19:00, 2F
→
01/24 22:05, , 3F
01/24 22:05, 3F