摘要: 一、heap heap并不属于STL容器组件,它分为 max heap 和min heap,在缺省情况下,max-heap是优先队列(priority queue)的底层实现机制。而这个实现机制中的max-heap实际上 是以一个vector表现的完全二叉树(comp... 阅读全文
posted @ 2015-03-24 10:56 _tham 阅读(420) 评论(0) 推荐(0) 编辑