Introduction to Algorithms (3/e)

Thomas H. Cormen, Charles E. Leiserson, Ronald L. Rivest, Clifford Stein

出版社

The MIT Press

出版时间

2009-07-31

ISBN

9780262033848

评分

★★★★★
书籍介绍
Some books on algorithms are rigorous but incomplete; others cover masses of material but lack rigor. Introduction to Algorithms uniquely combines rigor and comprehensiveness. The book covers a broad range of algorithms in depth, yet makes their design and analysis accessible to all levels of readers. Each chapter is relatively self-contained and can be used as a unit of study. The algorithms are described in English and in a pseudocode designed to be readable by anyone who has done a little programming. The explanations have been kept elementary without sacrificing depth of coverage or mathematical rigor. The first edition became a widely used text in universities worldwide as well as the standard reference for professionals. The second edition featured new chapters on the role of algorithms, probabilistic analysis and randomized algorithms, and linear programming. The third edition has been revised and updated throughout. It includes two completely new chapters, on van Emde Boas trees and multithreaded algorithms, and substantial additions to the chapter on recurrences (now called "Divide-and-Conquer"). It features improved treatment of dynamic programming and greedy algorithms and a new notion of edge-based flow in the material on flow networks. Many new exercises and problems have been added for this edition. As of the third edition, this textbook is published exclusively by the MIT Press.
AI导读
核心看点
  • 算法领域经典教材,兼顾严谨性与全面性
  • 涵盖广泛算法主题,设计分析深入浅出
  • 伪代码描述清晰,适合各级读者学习
适合谁读
  • 计算机科学专业本科生及研究生
  • 希望系统提升算法能力的程序员
  • 需要权威算法参考的专业人士
读前提醒
  • 内容厚重且数学严谨,不适合快速自学
  • 建议配合课程或视频讲解辅助理解
  • 可作为工具书查阅,不必强求通读
读者共识
  • 公认的经典之作,CS学生人手一册
  • 难度较高,被戏称为‘防身’或‘避孕’书
  • 虽厚且难,但读完能带来质的飞跃

本导读基于书籍简介、目录、原文摘录、短评和书评生成,不等同于全文精读。

精彩摘录
  • "动态规划算法的设计可以分为如下四个步骤: 1 描述最优解的结构。 2 递归定义最优解的值。 3 按自底向上的方式计算最优解的值。 4 由计算出的结果构造一个最优解。"
  • "在最好的情况下,k=0,因此s'=s+q,并且立刻能得出偏移s+1,s+2,s+3,…s+q-1。"
  • "In the best case, k=0,so that s‘=s+q, and we immediately rule out shifts s+1,s +2;...,s+q-1."
  • "即π[q]是Pq的真后缀P的最长前缀长度。"
  • "π[q] is the length of the longest prefix of P that is a proper suffix of Pq."
  • "考虑对数组A中的n个数进行排序:首先找出A中的最小元素,并将其与A[1]中的元素进行交换。接着找出A中的次小元素,并将其与A[2]中的元素进行交换。对A中头n-1个元素继续这一过程。写出这个算法的伪代码,该算法称为选择排序(selection sort)。对这个算法来说,循环不变式是什么?为什么它仅需要在头n-1个元素上运行,而不是在所有n个元素上运行?以Θ形式写出选择排序的最佳和最坏情况下的运行时间。"
  • "如果一个节点是红的,则它的两个儿子都是黑的。"
  • "如果一个节点是红的,那它的父亲一定是黑的"
用户评论
终于算是粗浅地看完了一遍
在stanford上了cs161这本是必读书目
本科时候的教材 教授的俄罗斯口音基本听不懂 只有考着这本书撑了一学期 并且在期末考试拿了A
太长了。看过之后也动不了手。不适合自学,还是当字典吧
Hopefully I could finish it this time :-)
几乎完美的算法入门书,平易通顺
One of the most classic book. Good to pair with the Algorithm Design Manual.
是不是那些动不动就说“原书好,翻译烂”的脑残从来不看(或者看不懂)原版?原版好在哪儿了谁告诉我一下,例子讲不清楚,示例图能多简单有多简单,章节划分混乱,我并不觉得原版好在哪儿了。
还算英文版读着舒服,不用担心翻译质量。白瞎了买的中文版了哈哈哈哈
程序员的内功心法。值得时常回味
下载
收藏