Tim Roughgarden is a Professor of Computer Science and (by courtesy) Management Science and Engineering at Stanford University, where he has taught and researched algorithms since 2004. This book is the first of a four-part series based on his online algorithms courses that have been running regularly since 2012.
Algorithms are the heart and soul of computer science. Their applications range from network routing and computational genomics to public-key cryptography and machine learning. Studying algorithms can make you a better programmer, a clearer thinker, and a master of technical interviews. Algorithms Illuminated is an accessible introduction to the subject for anyone with at least a little programming experience. The exposition emphasizes the big picture and conceptual understanding over low-level implementation and mathematical details---like a transcript of what an expert algorithms tutor would say over a series of one-on-one lessons. Part 1 covers asymptotic analysis and big-O notation, divide-and-conquer algorithms and the master method, randomized algorithms, and several famous algorithms for sorting and selection.
發表於2024-11-25
Algorithms Illuminated 2024 pdf epub mobi 電子書 下載
原書是這麼寫的,但是經過反復驗證,c=a*a,而不是c=b*b。所以這裏應該是作者筆誤寫錯瞭。 順便貼一下js的實現: /* * 快速n方計算 * */ function fastPower (a, b) { var c, temp; if (b === 1) { return a; } else { c = b * b; temp = fastPower(c, Math.floor(b/2)) } if (...
評分原書是這麼寫的,但是經過反復驗證,c=a*a,而不是c=b*b。所以這裏應該是作者筆誤寫錯瞭。 順便貼一下js的實現: /* * 快速n方計算 * */ function fastPower (a, b) { var c, temp; if (b === 1) { return a; } else { c = b * b; temp = fastPower(c, Math.floor(b/2)) } if (...
評分原書是這麼寫的,但是經過反復驗證,c=a*a,而不是c=b*b。所以這裏應該是作者筆誤寫錯瞭。 順便貼一下js的實現: /* * 快速n方計算 * */ function fastPower (a, b) { var c, temp; if (b === 1) { return a; } else { c = b * b; temp = fastPower(c, Math.floor(b/2)) } if (...
評分原書是這麼寫的,但是經過反復驗證,c=a*a,而不是c=b*b。所以這裏應該是作者筆誤寫錯瞭。 順便貼一下js的實現: /* * 快速n方計算 * */ function fastPower (a, b) { var c, temp; if (b === 1) { return a; } else { c = b * b; temp = fastPower(c, Math.floor(b/2)) } if (...
評分原書是這麼寫的,但是經過反復驗證,c=a*a,而不是c=b*b。所以這裏應該是作者筆誤寫錯瞭。 順便貼一下js的實現: /* * 快速n方計算 * */ function fastPower (a, b) { var c, temp; if (b === 1) { return a; } else { c = b * b; temp = fastPower(c, Math.floor(b/2)) } if (...
圖書標籤: Algorithm 算法 計算機科學 計算機 2017 美國 工具教程 CS
不是應該還有2嗎,我怎麼沒有找到2
評分不是應該還有2嗎,我怎麼沒有找到2
評分Tim老師跟著自己在coursera上algorithms的specialization寫的書。沒有CLRS覆蓋的內容多,但是我覺得講解的更清晰更細緻,尤其是裏麵涉及瞭很多code時候需要注意的細節。不過這個感受也可能存在bias,因為這是第二遍深入復習和dive的時候的感受。
評分非常細緻的書,算法證明和靈感來源都有
評分Tim老師跟著自己在coursera上algorithms的specialization寫的書。沒有CLRS覆蓋的內容多,但是我覺得講解的更清晰更細緻,尤其是裏麵涉及瞭很多code時候需要注意的細節。不過這個感受也可能存在bias,因為這是第二遍深入復習和dive的時候的感受。
Algorithms Illuminated 2024 pdf epub mobi 電子書 下載