2015年5月16日

【STL源码剖析读书笔记】【第4章】序列式容器之heap和priority_queue

摘要: 一、heap1、heap概述heap并不归属于STL容器组件,扮演priority queue的助手,binary max heap适合作为priority queue的底层机制。binary heap是一种completebinary tree,整棵binary tree除了最底层的叶子节点外是填... 阅读全文

posted @ 2015-05-16 10:03 ruan875417 阅读(254) 评论(0) 推荐(0) 编辑

导航