TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Introduction to Algorithms: A Creative Approach by Udi Manber [pdf]

273 pointsby ggr2342almost 2 years ago

8 comments

debanjan16almost 2 years ago
Students learning Algorithms for the first time should never touch CLRS. It is the worst thing that a beginner can pick up. It is good as a reference text.<p>Beginners should start with this. This book &quot;actually&quot; teaches you how algorithms are designed and how to break down problems into chunks and solve them using induction&#x2F;recursion.<p>Your mind will just be blown.
评论 #36097219 未加载
评论 #36097011 未加载
评论 #36097448 未加载
评论 #36097457 未加载
评论 #36101443 未加载
评论 #36096834 未加载
评论 #36097157 未加载
评论 #36102079 未加载
评论 #36098292 未加载
评论 #36169872 未加载
评论 #36100143 未加载
评论 #36097014 未加载
rg111almost 2 years ago
There is one book which is fairly recently published, and it is not known much.<p>The book is Jay Wengrow&#x27;s <i>A Common Sense Guide to Data Structure and Algorithm</i> [0].<p>It is published by Pragmatic Programmers.<p>I have found it to be the greatest algorithm book for self-learners.<p>It actually teaches you in what scenarios you might use which data structures and so on. Very highly recommend. What algorithms stand for and when you&#x27;d use one over another. Has nice code snippets, exercises that makes the learning whole.<p>Another great algo book is DPV. This is math-heavy, but this book has a soul.<p>Among the famous and ubiquitous ones, I like Steven Skiena.<p>[0]: <a href="https:&#x2F;&#x2F;pragprog.com&#x2F;titles&#x2F;jwdsal2&#x2F;a-common-sense-guide-to-data-structures-and-algorithms-second-edition&#x2F;" rel="nofollow">https:&#x2F;&#x2F;pragprog.com&#x2F;titles&#x2F;jwdsal2&#x2F;a-common-sense-guide-to-...</a>
russfinkalmost 2 years ago
I hate to throw shade on this, but look at theorem 2.1, proving by induction that x*n - 1 is divisible by x-1. The concluding sentence I believe mistakenly refers to the left hand term, when they intend to refer to the right hand term.<p>&quot;But the left term is divisible by x - 1 by the induction hypothesis, and the right term is just x-1.&quot;.<p>I would spend many hours staring at that sentence wondering why I &quot;just&quot; did not understand, cycling through a whole range of feelings, years later to find out that there was likely a typographical error.<p>Additionally, many textbooks like this give a complicated expression and rather than reduce it mathematically, they expect the reader just to do this in their head and come to the conclusion that it is true.<p>Such things may seem like trivialities, and perhaps I am not the smartest math person around, but not paying attention to these subtle points can lead to deep frustration for the reader.
评论 #36102447 未加载
评论 #36104845 未加载
评论 #36105013 未加载
jpamataalmost 2 years ago
A book that has a similar style to this one (teaching algorithm design) and my personal favourite is Algorithmic Problem Solving by Roland Backhouse.<p>It just teaches algorithmic problem solving via math, but unlike mathy algorithmic books like CLRS, you only need algebra for this one.<p>I like how the book, IIRC, starts with invariants, providing the reader the foundational skill needed to notice underlying patterns and to decompose problems.
fefe23almost 2 years ago
Uh... this looks like a pirate copy made from a scan of the book.<p>Should we really be linking to it?
评论 #36100636 未加载
williamkuszmaulalmost 2 years ago
Overall seems like a great book. The hashing chapter is a bit half baked though. It claims without reservation that deletions simply cannot be efficiently implemented with linear probing. But there are at least two two efficient to do this (lazy deletions or just fix up the hash table), and both are worthwhile for students to know.
thebigwinningalmost 2 years ago
This is a great book for teaching you how to invent algorithms. I use the skills i learned from it all the time.
评论 #36101208 未加载
评论 #36097142 未加载
tims33almost 2 years ago
I took CS 445 Algorithms at Arizona with Udi Manber as the professor in the late 90s. Tough class. The .com boom was picking up at that point and I think he went to Yahoo shortly after.
评论 #36104371 未加载