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

科技回声

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

GitHubTwitter

首页

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

资源链接

HackerNews API原版 HackerNewsNext.js

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

Algorithms, by Jeff Erickson

1463 点作者 bdr超过 6 年前

40 条评论

primitivesuave超过 6 年前
Jeff Erickson was my algorithms professor in 2012. He exemplifies the articulate, passionate educator that I wish I had for my other CS subjects. I recognize many of these notes having read them many times in preparation for quite difficult exams - a fun anecdote shared among people who&#x27;ve taken the class is the 25% credit given on any exam question just for writing &quot;I don&#x27;t know&quot;, effectively a reward for acknowledging your own shortcoming and for saving the TA the time to decipher a bullshit answer.<p>Professor Erickson, if you&#x27;re reading this, thank you for being the best educator of my college days and for making your beautifully-written notes available to everyone.
评论 #18807342 未加载
评论 #18810578 未加载
评论 #18807515 未加载
评论 #18808545 未加载
评论 #18824578 未加载
_underflow_超过 6 年前
&gt; Please do not ask me for solutions to the exercises. Even if you are [an] instructor, I will say no.<p>That&#x27;s kind of a bummer. I like to be able to check my answers when teaching myself things.<p>Am I somehow alone in that?
评论 #18808010 未加载
评论 #18805902 未加载
评论 #18807827 未加载
评论 #18807697 未加载
评论 #18810442 未加载
评论 #18805938 未加载
评论 #18805960 未加载
评论 #18806432 未加载
评论 #18806385 未加载
评论 #18805895 未加载
alsadi超过 6 年前
The logo on the right is the arabic letters of the word Algorithmi (al-Khwarizmi) the persian muslim scholar after him algorithms and logarithms were named
评论 #18805941 未加载
评论 #18806780 未加载
评论 #18805959 未加载
评论 #18812212 未加载
评论 #18805978 未加载
评论 #18805880 未加载
Twisol超过 6 年前
I am, in all likelihood, <i>not</i> in the target audience (having already spent much time with the material being presented), but this textbook has been a <i>joy</i> to read so far. I am only up to page 14, and I already need two hands (in base 1...) to count the number of times I&#x27;ve laughed aloud or cheered a particular point being raised.<p>Most algorithms books are <i>dry</i>, or they&#x27;re obsessed by particular formal details, or (worse) they <i>implicitly</i> include optimizations in the algorithm without explaining what is needed for <i>correctness</i> and what is needed for <i>efficiency</i>. Having tutored on one of the books mentioned in the prologue, it can be a real struggle to gain a true intuition for algorithms when you can&#x27;t yet tell the difference. But the sheer personality contained within this book is infectious, and it really is something of a page-turner. (Lest you think I haven&#x27;t gotten to the stuff that &quot;matters&quot;, I <i>have</i> read through the chapter on depth-first search -- again, an enjoyable read!)<p>What a great book. I&#x27;m definitely recommending this to my friends.
评论 #18812254 未加载
otachack超过 6 年前
I took Jeff&#x27;s Algorithms class in college and he&#x27;s one of the best professors I&#x27;ve had. I still struggled through the class but definitely made it through with a great experience.
评论 #18806499 未加载
评论 #18807064 未加载
yoler超过 6 年前
Isn’t this the guy that is famous for being admitted to a PhD program with an exceptionally low GPA?<p>If so, why is he the exception and why aren’t more PhD programs looking for non-traditional talent?<p>Edit: I read his blog post. It gave me more insight. It looks possible for people with those sort of grades to be admitted even today, but they seem to need a cheerleader on the inside that will help them.
评论 #18806122 未加载
评论 #18806077 未加载
评论 #18808149 未加载
评论 #18805954 未加载
评论 #18809032 未加载
konart超过 6 年前
Maybe that because english is not my native language, but I honestly find this way of material presentation as rather confusing.<p>PS: oh and of course all those &#x27;It’s quite easy to show that the...&#x27; and similar &#x27;by this point it should be obvious&#x27;. No, it is not... I guess I will never understand or use those algorithms even though I&#x27;d like to.
评论 #18807861 未加载
brianzelip超过 6 年前
&gt; ́ Black spades indicate problems that require a significant amount of gruntwork and&#x2F;or coding. These are rare.<p>&gt; ∆ Orange stars indicate that you are eating Lucky Charms that were manufactured before 1998. Ew.<p>(p. vi)<p>:)<p>Really like the book already. The preface falls under the category of advice on learning to learn. Thanks for all your work. #stealthisbook
评论 #18806984 未加载
Zanta超过 6 年前
I used these lectures as a method for learning algorithms as a phys&#x2F;mech eng with no CS background. I found them incredibly challenging but the lectures were written exceptionally well. On an internet with thousands of resources on this material, this was the very best I found.
azangru超过 6 年前
From the second page (verso page?):<p>&gt; Download this book at <a href="http:&#x2F;&#x2F;jeffe.cs.illinois.edu&#x2F;teaching&#x2F;algorithms&#x2F;" rel="nofollow">http:&#x2F;&#x2F;jeffe.cs.illinois.edu&#x2F;teaching&#x2F;algorithms&#x2F;</a> or <a href="http:&#x2F;&#x2F;algorithms.wtf" rel="nofollow">http:&#x2F;&#x2F;algorithms.wtf</a><p>algorithms.wtf is a beautiful url!
raylangivens超过 6 年前
I have been reading through these and find them really unique in a good way. I got a new perspective on a lot of stuff I already studied I have a Bachelors in CS and graduated 1.5 years ago.<p>It doesn&#x27;t feel formal like a textbook and yet doesn&#x27;t sacrifice on the mathematical rigor. I would be trying out the exercise problems which seem equally daunting but fun.<p>I also submitted an issue request on Github and Jeff I have a few questions for you that I put on Quora, I have A2A&#x27;d you.<p>Lastly, thanks for taking the time out and putting content like this out for free. It helps millions of autodidacts like me.
nameless912超过 6 年前
Jeff&#x27;s CS 374 was one of my favorite classes at U of I. It really opened up my mind to thinking about Computer Science as a branch of mathematics, and completely changed how I approach my work today.<p>The book form of these lectures was in EARLY rough draft when I took the class though-we were proofing chapters for him!
azhenley超过 6 年前
Jeff is also a frequent poster on Academia.StackExchange. He helped me quite a bit by answering my questions about grad school life.<p><a href="https:&#x2F;&#x2F;academia.stackexchange.com&#x2F;users&#x2F;65&#x2F;jeffe" rel="nofollow">https:&#x2F;&#x2F;academia.stackexchange.com&#x2F;users&#x2F;65&#x2F;jeffe</a>
mcguire超过 6 年前
&quot;<i>Sedgwick’s reformulation [of AA trees] requires that no right child is red. Whatever. Andersson and Sedgwick are strangely silent on which end of the egg to eat first.</i>&quot;
kizer超过 6 年前
I had him as a professor as well. He’s a brilliant guy and educator, but could be a little rough with questions; i.e. making you feel a little dumb. His notes though were always excellent.
Topolomancer超过 6 年前
I love Jeff Erickson&#x27;s work and would also like to recommend his notes on Computational Topology [1] for further consumption.<p>[1]: <a href="http:&#x2F;&#x2F;jeffe.cs.illinois.edu&#x2F;teaching&#x2F;comptop&#x2F;2009&#x2F;schedule.html" rel="nofollow">http:&#x2F;&#x2F;jeffe.cs.illinois.edu&#x2F;teaching&#x2F;comptop&#x2F;2009&#x2F;schedule....</a>
mpurham超过 6 年前
Wow students are so lucky for the sheer number of resources available today. Great post and thanks for sharing!
neurotrace超过 6 年前
&gt; Chapter 0 uses induction, and whenever Chapter n−1 uses induction, so does Chapter n<p>I love this.
yangdehang超过 6 年前
I don&#x27;t know why your guys think this book is so good, I don&#x27;t see any new things out of it nor could I appreciate how he composed the content. It is just one of those random textbooks for this topic.
sidravi1超过 6 年前
The historic preludes to the chapters are awesome. The dynamic programming chapter starts with an intro to the study of meters in Sanskrit poetry.
webmaven超过 6 年前
Great resource, though I wish it was available as an EPUB (or MOBI, or AZW3).
评论 #18812511 未加载
评论 #18806737 未加载
评论 #18807753 未加载
评论 #18806388 未加载
dksf超过 6 年前
I love how he offers the mnemonic <a href="http:&#x2F;&#x2F;algorithms.wtf" rel="nofollow">http:&#x2F;&#x2F;algorithms.wtf</a><p>Bravo, Jeff!
skizm超过 6 年前
What the heck is the trivial one liner to check who will win a chess game given both players play perfect?
评论 #18860220 未加载
评论 #18815127 未加载
评论 #18824053 未加载
BillyBreen超过 6 年前
Love his writing style. Accessible yet detailed with fun historical tangents to set context.
pseudonom-超过 6 年前
Does anyone have any impressions on how this compares to CLRS? (<a href="https:&#x2F;&#x2F;en.wikipedia.org&#x2F;wiki&#x2F;Introduction_to_Algorithms" rel="nofollow">https:&#x2F;&#x2F;en.wikipedia.org&#x2F;wiki&#x2F;Introduction_to_Algorithms</a>)
评论 #18808840 未加载
评论 #18808110 未加载
rbkillea超过 6 年前
This has always bugged me: what reasons outside of convention do we have for preferring O(V + E) to O(E) on algorithms that only make sense in the context of a single connected component? I know this is slightly OT, but tangentially related.
lbj超过 6 年前
Absolute treasuretrove, thanks for sharing!
ausjke超过 6 年前
After a quick browser it seems a little too academic for daily programmers like myself.<p>Would love to learn more about practical dynamic programming these days, hope there is a book about that extensively.
评论 #18807963 未加载
评论 #18821977 未加载
briefcomment超过 6 年前
Are algorithms useful to learn for a non-programmer? Is there a benefit to thinking through what is presented in a book like this over solving general problems in a day-to-day context?
评论 #18807747 未加载
评论 #18807387 未加载
评论 #18812032 未加载
wwarner超过 6 年前
The section on dynamic programming is exceptionally clear.
dotancohen超过 6 年前
This is a great resource. Though it is dated this month, there seems to have been a mention of it two years ago and a short HN discussion ensued: <a href="https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=12873426" rel="nofollow">https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=12873426</a>
mnadel超过 6 年前
I had the privilege of being an undergrad in Jeff’s class in the late 90s. IIRC, it was his first year teaching. On the last day of class he received a standing ovation. The average grade on the final exam was ~50%. And yet he received a standing ovation. He’s <i>that</i> good.
curiousDog超过 6 年前
The graphs chapter is my favorite. It&#x27;s not very rudimentary like other text books
nythrowaway超过 6 年前
I managed to get a A- in Ericsson’s 373 as an undergrad (grads took the same class but had their own curve) in 2001. Great class, great experience, great teacher. Pushed me to do algorithms at a difficulty I didnt hunk possible.
setheron超过 6 年前
I would appreciate a version of the book with the extended material as well! Is there a way to pre-pay advanced copies of the published book?
sqlacid超过 6 年前
Copyright question, the copyright page says draft published 12&#x2F;29&#x2F;2018, but the copyright is 2019; doesn&#x27;t that mean somebody could have taken the work, published as their own as copyright 2018 on 12&#x2F;30&#x2F;2018 which would be earlier than the author&#x27;s 2019 claim? I&#x27;m not a copyright expert by any means, but am always troubled when I see &quot;Copyright $CURRENT_DATE&quot; in electronic works, I thought it was supposed to reflect the earliest date of claim.
评论 #18812535 未加载
评论 #18809912 未加载
评论 #18809954 未加载
kyriakos超过 6 年前
great job and thanks for keeping this free
sidcool超过 6 年前
How does this compare to CLRS? I am neck deep in reading CLRS..
vowelless超过 6 年前
The lecture on Matroids is pretty good.
mlevental超过 6 年前
gonna take this opportunity to ask for advice: i have an MS in CS and i&#x27;ve gone through all of CLRS twice (yes really all of it and really twice - once for my grad algos class and once in prep for interviews - and i still don&#x27;t have whatever intuition i need to be able to effortlessly do DP. it&#x27;s honestly kind of maddening - mincut&#x2F;maxflow, RSA, knuth-morris-pratt etc are all completely obvious to me and i can whip them out pretty much effortlessly - but DP i struggle to find the optimal substructure and formulate bottom up (yes i can memoize but that&#x27;s not clever enough for you know who). what&#x27;s the magic combinatorial perspective&#x2F;intuition that enables people to construct dp solutions so quickly??? yes i&#x27;ve read vazirani and gone through the clemson examples and etc. and skiena and sedgwick whatever but the problem is they&#x27;re mostly all rehashings of the same solutions&#x2F;perspectives. looking forward to this book&#x27;s perspective.
评论 #18812236 未加载
评论 #18811640 未加载
评论 #18808988 未加载
评论 #18810210 未加载
评论 #18810404 未加载