《算法导论 (第 4 版)》阅读笔记:p164-p172
《算法导论(第 4 版)》学习第 29 天,p164-p172 总结,总计 9 页。
一、技术总结
1. heap
(1)(binary) heap(堆/二叉堆)
(2)complete binary tree(完全二叉树)
(3)max-heap
A[PARENT(i)] ≥ A[i]。
(4)min-heap
A[PARENT(i)] ≤ A[i]。
(5)应用
priority queue(优先队列)。
2. priority queue
(1)定义
A priority queue is a data structure for maintaining a set S of elements, each with an associated value called a key
二、英语总结(生词:0)
无。
关于英语的注解同步更新汇总到 https://github.com/codists/English-In-CS-Books 仓库。
三、其它
今天没有什么想说的。
四、参考资料
1. 编程
(1) Thomas H. Cormen,Charles E. Leiserson,Ronald L. Rivest,Clifford Stein,https://book.douban.com/subject/35591269/
2. 英语
(1) Etymology Dictionary:https://www.etymonline.com
(2) Cambridge Dictionary:https://dictionary.cambridge.org

欢迎搜索及关注:编程人(a_codists)
版权声明: 本文为 InfoQ 作者【codists】的原创文章。
原文链接:【http://xie.infoq.cn/article/d3ff03491b876642c9ba2e713】。文章转载请联系作者。
评论