写点什么

《算法导论 (第 4 版)》阅读笔记:p164-p172

作者:codists
  • 2025-05-29
    广东
  • 本文字数:403 字

    阅读完需:约 1 分钟

《算法导论(第 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)

发布于: 刚刚阅读数: 2
用户头像

codists

关注

公众号:编程人 2021-01-14 加入

Life is short, You need Python

评论

发布
暂无评论
《算法导论(第4版)》阅读笔记:p164-p172_算法_codists_InfoQ写作社区