TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Ask HN: Good book/resources on algorithms?

10 点作者 aberatiu超过 11 年前
Recently I realized that my knowledge about algorithms are almost nonexistent, a fact that made me want to change this but I&#x27;m having some difficulties finding good resources to guide me in the right direction.<p>Have any advice&#x2F;links&#x2F;books?<p>(I&#x27;m asking here and not elsewhere as I already received some very good directions on one of my past, somewhat related, question)

8 条评论

tubbzor超过 11 年前
Introduction to Algorithms by Cormen is a great. It is set up as a sort of reference and isnt necessarily meant to be read cover to cover. However, you&#x27;ll need to read&#x2F;understand the first 4 or so chapters (on asymptotic complexity, recursion, log rules, master theorem, ect) to really be able to grasp anything else in the book. The proofs and explanations can be rather terse, as it assumes you have some working knowledge with algorithmic theory and math. I wouldn&#x27;t recommend it for starting out _at all_ as it can be very intimidating at first.<p>I started out with Algorithms by Tardos (you can pretty easily find a copy of the book and solutions online somewhere). It is less terse and goes through all the basics in a much less formal format. In this book I would advise starting at chapter 1 and going straight through to 8 or 9, doing the exercises and programming up most of the algorithms on your way. At this point you&#x27;ll have a really nice working knowledge and can dive into Cormen and tackle stuff that interests you.
satyampujari超过 11 年前
Check these books:<p><a href="http://www.amazon.com/The-Algorithm-Design-Manual-ebook/dp/B0016H523Q/" rel="nofollow">http:&#x2F;&#x2F;www.amazon.com&#x2F;The-Algorithm-Design-Manual-ebook&#x2F;dp&#x2F;B...</a><p><a href="http://www.amazon.com/Programming-Pearls-2nd-Jon-Bentley/dp/0201657880" rel="nofollow">http:&#x2F;&#x2F;www.amazon.com&#x2F;Programming-Pearls-2nd-Jon-Bentley&#x2F;dp&#x2F;...</a><p>Prefer Python ?<p><a href="http://www.amazon.com/Python-Algorithms-Mastering-Language-Experts/dp/1430232374/" rel="nofollow">http:&#x2F;&#x2F;www.amazon.com&#x2F;Python-Algorithms-Mastering-Language-E...</a><p><a href="http://www.amazon.com/Structures-Algorithms-Python-Michael-Goodrich/dp/1118290275/" rel="nofollow">http:&#x2F;&#x2F;www.amazon.com&#x2F;Structures-Algorithms-Python-Michael-G...</a>
jlebron2超过 11 年前
I&#x27;ve been taking an algorithms course on Coursera and I&#x27;m really enjoying it. It&#x27;s taught by two professors from Princeton, Kevin Wayne and Robert Sedgewick. Heres the link:<p><a href="https://www.coursera.org/course/algs4partI" rel="nofollow">https:&#x2F;&#x2F;www.coursera.org&#x2F;course&#x2F;algs4partI</a><p>I&#x27;m sure there are plenty of other online algorithms courses online too.
bharyms超过 11 年前
Art of Computer Programming by Knuth<p>Introduction to Algorithms by Cormen
a-b超过 11 年前
I like <a href="http://rosettacode.org/wiki/Category:Programming_Tasks" rel="nofollow">http:&#x2F;&#x2F;rosettacode.org&#x2F;wiki&#x2F;Category:Programming_Tasks</a>
rch超过 11 年前
What kind of algorithms?<p>Whatever the answer, check out Numerical Recipes (<a href="http://www.nr.com/" rel="nofollow">http:&#x2F;&#x2F;www.nr.com&#x2F;</a>).
评论 #6375654 未加载
aberatiu超过 11 年前
Something like this <a href="http://bigocheatsheet.com" rel="nofollow">http:&#x2F;&#x2F;bigocheatsheet.com</a> , but more detailed.
jpau超过 11 年前
How do people view Udacity&#x27;s algorithms subject?