Introduction to Algorithms - Knowledge Frame

Introduction to Algorithms, MIT 6.006

Course Description

  • mathematical modeling of computational problems
  • covers:
    • common algorithms
    • algorithmic paradigms
    • data structures
    • used to solve these problems
  • emphasizes
    • relationship between algorithms and programming
    • basic performance measures and analysis techniques

Definition: Algorithm

  • https://en.wikipedia.org/wiki/Algorithm
    In mathematics and computer science, an algorithm is an unambiguous specification of how to solve a class of problems. Algorithms can perform calculation, data processing and automated reasoning tasks.
    An algorithm is an effective method that can be expressed within a finite amount of space and time and in a well-defined formal language for calculating a function. Starting from an initial state and initial input (perhaps empty), the instructions describe a computation that, when executed, proceeds through a finite number of well-defined successive states, eventually producing "output" and terminating at a final ending state.

Textbooks

  • T.Cormen, C.Leiserson, R.Rivest, C.Stein, Introduction to Algorithms, 3rd ed, 2009
  • B.Miller, D.Ranum, Problem Solving with Algorithms and Data Structures Using Python, 2nd ed, 2011

Syllabus and Readings

  • Introduction
    • Algorithmic thinking, peak finding - 1, 3, D.1
    • Models of computation, Python cost model, document distance - 1, 3, Python Cost Model
  • Sorting and Trees
    • Insertion sort, merge sort - 1.2, 2.1–2.3, 4.3–4.6
    • Heaps and heap sort - 6.1–6.4
    • Binary search trees, BST sort - 10.4, 12.1–12.3, Binary Search Trees
    • AVL trees, AVL sort - 13.2, 14
    • Counting sort, radix sort, lower bounds for sorting and searching - 8.1–8.3
  • Hashing
    • Hashing with chaining - 11.1–11.3
    • Table doubling, Karp-Rabin - 17
    • Open addressing, cryptographic hashing - 11.4
  • Numerics
    • Integer arithmetic, Karatsuba multiplication
    • Square roots, Newton's method
  • Graphs
    • Breadth-first search (BFS) - 22.1–22.2, B.4
    • Depth-first search (DFS), topological sorting - 22.3–22.4
  • Shortest Paths
    • Single-source shortest paths problem - 24.0, 24.5
    • Dijkstra - 24.3
    • Bellman-Ford - 24.1–24.2
    • Speeding up Dijkstra
  • Dynamic Programming
    • Memoization, subproblems, guessing, bottom-up; Fibonacci, shortest paths - 15.1, 15.3
    • Parent pointers; text justification, perfect-information blackjack - 15.3, Problem 15–4, Blackjack rules
    • String subproblems, psuedopolynomial time; parenthesization, edit distance, knapsack - 15.1, 15.2, 15.4
    • Two kinds of guessing; piano/guitar fingering, Tetris training, Super Mario Bros.
  • Advanced Topics
    • Computational complexity - 34.1–34.3
    • Algorithms research topics

Knowledge Frame

最后編輯于
?著作權(quán)歸作者所有,轉(zhuǎn)載或內(nèi)容合作請(qǐng)聯(lián)系作者
  • 序言:七十年代末咙鞍,一起剝皮案震驚了整個(gè)濱河市登澜,隨后出現(xiàn)的幾起案子妄田,更是在濱河造成了極大的恐慌,老刑警劉巖扒怖,帶你破解...
    沈念sama閱讀 221,635評(píng)論 6 515
  • 序言:濱河連續(xù)發(fā)生了三起死亡事件,死亡現(xiàn)場(chǎng)離奇詭異,居然都是意外死亡只搁,警方通過(guò)查閱死者的電腦和手機(jī),發(fā)現(xiàn)死者居然都...
    沈念sama閱讀 94,543評(píng)論 3 399
  • 文/潘曉璐 我一進(jìn)店門(mén)俭尖,熙熙樓的掌柜王于貴愁眉苦臉地迎上來(lái)氢惋,“玉大人洞翩,你說(shuō)我怎么就攤上這事⊙嫱” “怎么了骚亿?”我有些...
    開(kāi)封第一講書(shū)人閱讀 168,083評(píng)論 0 360
  • 文/不壞的土叔 我叫張陵,是天一觀的道長(zhǎng)熊赖。 經(jīng)常有香客問(wèn)我来屠,道長(zhǎng),這世上最難降的妖魔是什么震鹉? 我笑而不...
    開(kāi)封第一講書(shū)人閱讀 59,640評(píng)論 1 296
  • 正文 為了忘掉前任俱笛,我火速辦了婚禮,結(jié)果婚禮上传趾,老公的妹妹穿的比我還像新娘迎膜。我一直安慰自己,他們只是感情好浆兰,可當(dāng)我...
    茶點(diǎn)故事閱讀 68,640評(píng)論 6 397
  • 文/花漫 我一把揭開(kāi)白布磕仅。 她就那樣靜靜地躺著,像睡著了一般镊讼。 火紅的嫁衣襯著肌膚如雪宽涌。 梳的紋絲不亂的頭發(fā)上,一...
    開(kāi)封第一講書(shū)人閱讀 52,262評(píng)論 1 308
  • 那天蝶棋,我揣著相機(jī)與錄音卸亮,去河邊找鬼。 笑死玩裙,一個(gè)胖子當(dāng)著我的面吹牛兼贸,可吹牛的內(nèi)容都是我干的。 我是一名探鬼主播吃溅,決...
    沈念sama閱讀 40,833評(píng)論 3 421
  • 文/蒼蘭香墨 我猛地睜開(kāi)眼溶诞,長(zhǎng)吁一口氣:“原來(lái)是場(chǎng)噩夢(mèng)啊……” “哼!你這毒婦竟也來(lái)了决侈?” 一聲冷哼從身側(cè)響起螺垢,我...
    開(kāi)封第一講書(shū)人閱讀 39,736評(píng)論 0 276
  • 序言:老撾萬(wàn)榮一對(duì)情侶失蹤,失蹤者是張志新(化名)和其女友劉穎赖歌,沒(méi)想到半個(gè)月后枉圃,有當(dāng)?shù)厝嗽跇?shù)林里發(fā)現(xiàn)了一具尸體,經(jīng)...
    沈念sama閱讀 46,280評(píng)論 1 319
  • 正文 獨(dú)居荒郊野嶺守林人離奇死亡庐冯,尸身上長(zhǎng)有42處帶血的膿包…… 初始之章·張勛 以下內(nèi)容為張勛視角 年9月15日...
    茶點(diǎn)故事閱讀 38,369評(píng)論 3 340
  • 正文 我和宋清朗相戀三年孽亲,在試婚紗的時(shí)候發(fā)現(xiàn)自己被綠了。 大學(xué)時(shí)的朋友給我發(fā)了我未婚夫和他白月光在一起吃飯的照片展父。...
    茶點(diǎn)故事閱讀 40,503評(píng)論 1 352
  • 序言:一個(gè)原本活蹦亂跳的男人離奇死亡返劲,死狀恐怖玲昧,靈堂內(nèi)的尸體忽然破棺而出,到底是詐尸還是另有隱情篮绿,我是刑警寧澤孵延,帶...
    沈念sama閱讀 36,185評(píng)論 5 350
  • 正文 年R本政府宣布,位于F島的核電站搔耕,受9級(jí)特大地震影響隙袁,放射性物質(zhì)發(fā)生泄漏。R本人自食惡果不足惜弃榨,卻給世界環(huán)境...
    茶點(diǎn)故事閱讀 41,870評(píng)論 3 333
  • 文/蒙蒙 一菩收、第九天 我趴在偏房一處隱蔽的房頂上張望。 院中可真熱鬧鲸睛,春花似錦娜饵、人聲如沸。這莊子的主人今日做“春日...
    開(kāi)封第一講書(shū)人閱讀 32,340評(píng)論 0 24
  • 文/蒼蘭香墨 我抬頭看了看天上的太陽(yáng)。三九已至拳亿,卻和暖如春晴股,著一層夾襖步出監(jiān)牢的瞬間,已是汗流浹背肺魁。 一陣腳步聲響...
    開(kāi)封第一講書(shū)人閱讀 33,460評(píng)論 1 272
  • 我被黑心中介騙來(lái)泰國(guó)打工电湘, 沒(méi)想到剛下飛機(jī)就差點(diǎn)兒被人妖公主榨干…… 1. 我叫王不留,地道東北人鹅经。 一個(gè)月前我還...
    沈念sama閱讀 48,909評(píng)論 3 376
  • 正文 我出身青樓寂呛,卻偏偏與公主長(zhǎng)得像,于是被迫代替她去往敵國(guó)和親瘾晃。 傳聞我的和親對(duì)象是個(gè)殘疾皇子贷痪,可洞房花燭夜當(dāng)晚...
    茶點(diǎn)故事閱讀 45,512評(píng)論 2 359

推薦閱讀更多精彩內(nèi)容