← 返回专栏列表

Algorithms:CLRS + MIT 6.006

共 24 篇文章

11. Integer Arithmetic、Newton 与 Karatsuba Multiplication

本文逐段翻译 MIT 6.006 Fall 2011 Lecture 11《Numerics I》,保留原讲义从 irrational numbers、Catalan numbers 到 Newton’s method、高精度计算和 Karatsuba multiplication 的完整展开;核心主题是如何用分治把…

12. Square Roots、Newton’s Method 与 High-Precision Division

本文逐段翻译 MIT 6.006 Fall 2011 Lecture 12《Square Roots, Newton’s Method》,承接上一讲的 high-precision multiplication,推导 Newton square root 的 error bound,并介绍通过 reciprocal…

13. Breadth-First Search:图搜索与最短路径树

本文逐段翻译 MIT 6.006 Fall 2011 Lecture 13《Breadth-First Search》,从 graph terminology 和 graph-search applications 出发,介绍 adjacency lists、implicit graphs、incidence…

14. Depth-First Search、Cycle Detection 与 Topological Sort

本文逐段翻译 MIT 6.006 Fall 2011 Lecture 14《Depth-First Search, Topological Sort》,把 DFS 看成“沿 path 深入、走不通再 backtrack”的 graph exploration,介绍 tree / back / forward /…

15. Single-Source Shortest Paths:权重图、Relaxation 与 Optimal Substructure

本文按 MIT 6.006 Fall 2011 Lecture 15《Shortest Paths I:Intro》的讲授顺序整理,并结合 CLRS 第四版第 22 章的术语与证明框架。

16. Dijkstra:DAG Shortest Paths、Greedy Choice 与 Priority Queue

本文按 MIT 6.006 Fall 2011 Lecture 16《Shortest Paths II:Dijkstra》的顺序整理,并结合 CLRS 第四版第 22 章补齐 invariant、correctness proof、priority queue 与 complexity analysis。

17. Bellman–Ford:Negative Edges、负环检测与 Θ(VE) 复杂度

本文按 MIT 6.006 Fall 2011 Lecture 17《Shortest Paths III:Bellman–Ford》的顺序整理,并结合 CLRS 第四版第 22 章补齐 Bellman–Ford 的 invariant、correctness proof、negative-weight cycle…

18. Speeding Up Dijkstra:双向搜索、A* 与 Landmarks

本文按 MIT 6.006 Fall 2011 Lecture 18《Shortest Paths IV:Speeding Up Dijkstra》的顺序整理。

19. Dynamic Programming I:Fibonacci、Shortest Paths 与 Memoization

本文按 MIT 6.006 Fall 2011 Lecture 19《Dynamic Programming I:Memoization, Fibonacci, Shortest Paths, Guessing》的顺序整理。

20. Dynamic Programming II:Text Justification、Blackjack 与 Parent Pointers

本文按 MIT 6.006 Fall 2011 Lecture 20《Dynamic Programming II:Text Justification, Blackjack》的顺序整理。

第 2 / 3 页 · 共 24 篇