為什么想學(xué)習(xí)算法
學(xué)習(xí)算法一般有很多原因免绿,總結(jié)比較重要的兩點:
1可帽。更好的設(shè)計編程,算法是根本鳄袍,是基礎(chǔ)
2绢要。更好的鍛煉思維能力,思考問題以及解決問題
我個人選擇先鍛煉自己的思維拗小,因為這是根本的根本重罪,之后不止可以用在設(shè)計編程上,其他領(lǐng)域莫不受益。
為什么選擇《算法(第四版)》
因為這部書實在經(jīng)典剿配,眾口推薦搅幅,特意試用了一下,吸引我的印象最深的幾點:
1呼胚。圖文并茂茄唐,視覺元素很多,我買的英文版還是彩色的蝇更,看著很舒服
文字描述的同時沪编,一般是在同頁面,有圖表式的總結(jié)年扩,非常清晰蚁廓。
2。講解淺顯易懂厨幻,不枯燥相嵌,內(nèi)含50多經(jīng)典算法。
3况脆。完整高亮的配套代碼饭宾,并可下載
所有代碼都是java 代碼,可運行格了。學(xué)習(xí)算法之余還加深了java捏雌。
最近開始學(xué)Python,準(zhǔn)備用python寫算法代碼
4笆搓。豐富的練習(xí)題性湿,有基本的測驗題,另配有高深一些的練習(xí)題满败,以及我很喜歡的Q&A肤频。
5。配套網(wǎng)站:algs4.cs.princeton.edu/home/?包含各種資源算墨。
本書作者:
Robert Sedgewickhas been a Professor of Computer Science at Princeton University since 1985, where he was the founding Chairman of the Department of Computer Science. He has held visiting research positions at Xerox PARC, Institute for Defense Analyses, and INRIA, and is member of the board of directors of Adobe Systems. Professor Sedgewick’s research interests include analytic combinatorics, design and analysis of data structures and algorithms, and program visualization. His landmark book,Algorithms,now in its fourth edition, has appeared in numerous versions and languages over the past thirty years. In addition, with Kevin Wayne, he is the coauthor of the highly acclaimed textbook,Introduction to Programming in Java: An Interdisciplinary Approach(Addison-Wesley, 2008).
Kevin Wayneis the Phillip Y. Goldman Senior Lecturer in Computer Science at Princeton University, where he has been teaching since 1998. He received a Ph.D. in operations research and industrial engineering from Cornell University. His research interests include the design, analysis, and implementation of algorithms, especially for graphs and discrete optimization. With Robert Sedgewick, he is the coauthor of the highly acclaimed textbook,Introduction to Programming in Java: An Interdisciplinary Approach(Addison-Wesley, 2008).