作者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
1F:推 YuChiang:就是本来要画heap树状结构,改成画一维阵列 04/13 20:06
2F:推 LPH66:要我的话我会写证明 (开头就写了show that) 04/13 20:48
3F:→ progden:老师有说过 能用一张图解释的 就不要写一堆字 04/13 21:04