作者ouyang0916 (藍天白雲的使命)
看板Prob_Solve
標題[問題] 演算法問題
時間Sun Apr 13 17:11:33 2008
就不瞞大家 我要作作業 但是我真的看不懂
希望鄉民給我"提示"就好了 不用給我答案
Show that with the array representation for
storing an n-element heap, the leaves are the
nodes indexed by n/2+1 , n/2+2,.....,n
當然不是翻譯 感恩大家
我是需要作圖 還是寫???
--
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 59.126.224.51
推 YuChiang:就是本來要畫heap樹狀結構,改成畫一維陣列 04/13 20:06
推 LPH66:要我的話我會寫證明 (開頭就寫了show that) 04/13 20:48
→ progden:老師有說過 能用一張圖解釋的 就不要寫一堆字 04/13 21:04