[理工] 台科101資結

看板Grad-ProbAsk作者 (James)時間13年前 (2013/01/24 18:57), 編輯推噓1(102)
留言3則, 3人參與, 最新討論串1/1
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
一個點的時候 高度是1
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
文章代碼(AID): #1H0HEZ9U (Grad-ProbAsk)