← 返回专栏列表

Algorithms:CLRS + MIT 6.006

共 24 篇文章

1. Algorithmic Thinking:Peak Finding 与复杂度分析

本文逐段翻译 MIT 6.006 Fall 2011 Lecture 1《Introduction and Peak Finding》,从一维与二维 peak finding 说明 algorithmic thinking、scalability、divide and conquer、correctness 和…

2. Models of Computation:RAM、Python Cost Model 与 Document Distance

本文逐段翻译 MIT 6.006 Fall 2011 Lecture 2《Models of Computation and Document Distance》,建立 algorithm、model of computation、RAM、pointer machine 与 Python cost model…

3. Sorting:Insertion Sort、Merge Sort 与递推树分析

本文逐段翻译 MIT 6.006 Fall 2011 Lecture 3《Insertion Sort, Merge Sort》,从 sorting 的应用出发,完整说明 insertion sort、binary insertion sort、merge sort、recursion tree、auxiliary…

4. Heap:优先队列、建堆与 Heap Sort

本文逐段翻译 MIT 6.006 Fall 2011 Lecture 4《Heaps and Heap Sort》,从 priority queue 出发说明 heap 的 array/tree 表示、max-heap property、、 与 heap sort,并重点分析为什么 是 而不是表面上的 。

5. BST:插入、查询与 Rank 的增广设计

本文逐段翻译 MIT 6.006 Fall 2011 Lecture 5《Binary Search Trees and BST Sort》,从 runway reservation 问题出发,说明为什么 BST 同时提供 binary-search navigation 与 pointer-based…

6. AVL Trees:平衡、旋转与 AVL Sort

本文逐段翻译 MIT 6.006 Fall 2011 Lecture 6《AVL Trees and AVL Sort》,在普通 BST 的基础上引入 balanced search tree,说明 AVL invariant 如何保证 height,并通过 rotations 实现 insertion 与 AVL…

7. Counting Sort、Radix Sort 与 Sorting Lower Bounds

本文逐段翻译 MIT 6.006 Fall 2011 Lecture 7《Counting Sort, Radix Sort, Lower Bounds for Sorting》,先在 comparison model 中证明 searching 与 sorting 的 lower bounds,再说明为什么…

8. Hashing with Chaining:冲突、Load Factor 与 Expected O(1)

本文逐段翻译 MIT 6.006 Fall 2011 Lecture 8《Hashing with Chaining》,从 dictionary ADT 和 Python dictionary 出发,说明 direct-access table 的局限,介绍 prehashing、hash…

9. Table Doubling、Amortized Analysis 与 Karp-Rabin

本文逐段翻译 MIT 6.006 Fall 2011 Lecture 9《Table Doubling, Karp-Rabin》,在 chaining hash table 的基础上介绍 table resizing、rehashing 与 amortized analysis,再把 hashing 应用于…

10. Open Addressing 与 Cryptographic Hashing

本文逐段翻译 MIT 6.006 Fall 2011 Lecture 10《Open Addressing, Cryptographic Hashing》,介绍不使用 chaining 的 open addressing、linear probing、double hashing、uniform hashing 下的…

第 1 / 3 页 · 共 24 篇