Hacker News new | ask | show | jobs
by jmconfuzeus 1370 days ago
I'm studying algorithms too right now.

As someone who sucks at maths and puzzle solving in general, Steve Skiena's book is proving to be quite approachable for me. Although I have to jump back and forth between the book and Khan Academy to look up some of the Maths.

He also has video lectures for the book: https://www3.cs.stonybrook.edu/~skiena/373/videos/

Another thing that helped me was brushing up on C programming skills. As a Python programmer, algorithms like hash maps don't make any sense because you just slap keys and values on a dictionary and call it a day but in C, you get to see how buckets and hash functions are used to build hash maps.

2 comments

I love the idea of Skiena's book. I don't love his editor. The second edition has an error almost every other page. The third edition isn't much better.

2nd Ed. Errata: https://www3.cs.stonybrook.edu/~skiena/algorist/book/errata

3rd Ed. Errata: https://www3.cs.stonybrook.edu/~skiena/algorist/book/errata-...

Thanks for the heads up. I'll be sure to check the errata while going through the book.
I also want to recommend Steve Skiena's book. His math section in particular was my own 'ah hah!' moment where I connected math back to the code I wrote. It really unlocks the rest of the book.
Are you referring to section 2, Algorithm Analysis?