News for hackers. Stuff that matters.
Re:Algorithms by Jeff Erickson (2019) by rg111 on Saturday July 16, 2022 @05:52PM (#32122310)
Here are some books that I suggest to learn DSA properly:

1. A Common-Sense Guide to Data Structure and Algorithms from PragProg Bookshelf. Written in a very approachable manner with very good code. The best for self-learners.

2. Algorithms by Dasgupta, Papadimitriou, Vazirani (DPV). Very short and concise book- extremely well-written with a personality. Requires basic CS math.

3. Algorithm Design Manual by Skeina. Extremely approachable as well. Has 'battle stories' of algorithm usage. Good for self-learners. Links to problems in Leetcode is given.

4. CLRS is of course nice for a mathematically rigorous study.

Re:Algorithms by Jeff Erickson (2019) by marai2 on Saturday July 16, 2022 @08:50PM (#32123353)
I'll second the recommendation above. For folks coming to algorithms for the first time I would recommend _Grokking Algorithms An illustrated guide for programmers and other curious people_ as a nice quick _tour_ of the field. And the _Common Sense Guide_ (mentioned above) as the next book. For complete beginners this book has the best simple explanations of algorithms I've read in any book (and I have a whole bunch of them).
Re:Algorithms by Jeff Erickson (2019) by trenchgun on Saturday July 16, 2022 @10:33PM (#32123931)
Why do you think Jeff Ericksons book is not hood for that?
Re:Algorithms by Jeff Erickson (2019) by jefferickson on Sunday July 17, 2022 @05:34PM (#32131585)
Well, I can tell you why I think my book is not good for that — it isn't designed to be that!

My book grew out of lecture notes that I wrote for my algorithms classes at Illinois. My students are almost exclusively juniors and seniors. In particular, they already have several semesters of programming experience, a full semester of discrete math, and a full semester of data structures (which includes things like sorting and searching and the basics of algorithm analysis). They are the audience I wrote the book for.

Equivalently, I have very little experience teaching those prerequisite classes, which makes me the wrong person to write a textbook about that more foundational material!

At a more basic level: Different people are going to find different sources more or less useful. Different authors are better matches for different readers' backgrounds, intuition, and needs. My book ain't gonna work for everyone, because no single book works for everyone.

I'm not familiar with Common Sense Guide — thanks for the suggestion! — but the other books listed above are all fantastic (for different reasons, and for different audiences).

Re:Algorithms by Jeff Erickson (2019) by __rito__ on Monday July 18, 2022 @07:24AM (#32136926)
Hi Jeff, in your opinion, what would be the best algorithms book for students taking algo in Freshman year who want to learn it properly, in an in-depth manner?

It would really help me with many questions that I have.

Thanks.