LG Nexus 4 Authentic Bumper NOW AVAILABLE! $19.99 at Google Play# PDA - 掌中宝
r*t
1 楼
记得有人 share 过找最大 5 个数用 min-heap?,找不到帖子了。
BTW, wikipedia 上面对 min-heap 的定义不一致:
http://en.wikipedia.org/wiki/Binary_heap
http://en.wikipedia.org/wiki/Heap_%28data_structure%29
这个怎么回事,我该听谁的?
BTW, wikipedia 上面对 min-heap 的定义不一致:
http://en.wikipedia.org/wiki/Binary_heap
http://en.wikipedia.org/wiki/Heap_%28data_structure%29
这个怎么回事,我该听谁的?