[問題] 演算法問題

看板Prob_Solve作者 (藍天白雲的使命)時間16年前 (2008/04/13 17:11), 編輯推噓2(201)
留言3則, 3人參與, 最新討論串1/8 (看更多)
就不瞞大家 我要作作業 但是我真的看不懂 希望鄉民給我"提示"就好了 不用給我答案 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

04/13 20:06, , 1F
就是本來要畫heap樹狀結構,改成畫一維陣列
04/13 20:06, 1F

04/13 20:48, , 2F
要我的話我會寫證明 (開頭就寫了show that)
04/13 20:48, 2F

04/13 21:04, , 3F
老師有說過 能用一張圖解釋的 就不要寫一堆字
04/13 21:04, 3F
文章代碼(AID): #180Sv8sG (Prob_Solve)
文章代碼(AID): #180Sv8sG (Prob_Solve)