88年國安資料結構 - 考試
By Kyle
at 2013-04-27T14:56
at 2013-04-27T14:56
Table of Contents
高度為h且度數為d之樹,至多可包含多少節點? 至多可包含多少個空指標?
A:(王致強老師/資料結構)
(1) 1+d+...+d(h-1次方)=d(h次方)-1除以d-1
想法:這邊沒問題,用等比級數
(2) 當節點最多時,空指標數也多=d(h次方)
想法:不太清楚這邊的空指標是指?
如果是終端節點,那應該是d(h-1次方),也不是d(h次方)
謝謝回覆了
--
A:(王致強老師/資料結構)
(1) 1+d+...+d(h-1次方)=d(h次方)-1除以d-1
想法:這邊沒問題,用等比級數
(2) 當節點最多時,空指標數也多=d(h次方)
想法:不太清楚這邊的空指標是指?
如果是終端節點,那應該是d(h-1次方),也不是d(h次方)
謝謝回覆了
--
Tags:
考試
All Comments
By Eden
at 2013-04-30T22:15
at 2013-04-30T22:15
By Gilbert
at 2013-05-04T15:18
at 2013-05-04T15:18
By Adele
at 2013-05-08T13:25
at 2013-05-08T13:25
By Charlotte
at 2013-05-09T15:47
at 2013-05-09T15:47
By Carolina Franco
at 2013-05-10T01:36
at 2013-05-10T01:36
By Skylar DavisLinda
at 2013-05-10T17:01
at 2013-05-10T17:01
Related Posts
企業管理
By Joe
at 2013-04-27T13:01
at 2013-04-27T13:01
關於刑法共犯脫離、中止犯的問題
By Vanessa
at 2013-04-27T12:47
at 2013-04-27T12:47
刑法 不罰前後行為
By Ethan
at 2013-04-27T00:54
at 2013-04-27T00:54
已考上的公務員是怎麼準備國家考試的呢?
By Quintina
at 2013-04-26T23:05
at 2013-04-26T23:05
活化公職考試 董保成:應增加口試
By Barb Cronin
at 2013-04-26T21:13
at 2013-04-26T21:13