10 ms·
Ask HN: What are the top textbooks for data structures?
I've been looking at some textbooks for algorithms and I came across the Skeina book and CLRS, but they seem to be pretty advanced. I've been programming for almost 2 years and never really formally taught myself the fundamentals like algorithms, and it seems as if data structures would be far more useful to learn about BEFORE algorithms (heaps, hashes, stacks, etc...). I'm looking for a book like SICP, something classic and easy to understand. Thanks!
- clSTophEjUdRanu 7y agoI liked: Data Structures: A Pseudocode Approach with C By Gilberg and Forouzan Data Structures: A Pseudocode Approach with C https://www.amazon.com/dp/0534390803/ref=cm_sw_r_sms_apa_i_HILMDbCCGGXV1 https://www.amazon.com/dp/0534390803/ref=cm_sw_r_sms_apa_i_H...
- epakai 7y agoMost algorithms books take time to explain data structures. They are very intertwined topics. CLRS has 2/7 main sections dedicated to data structures and makes a fine reference, but it's also a lot of pseudocode and is quite in-depth. "Mastering Algorithms with C" is split nearly 50/50 between them and has real code examples though I don't care for the coding style. My personal preference has been Sedgewick's "Algorithms in C" which introduces elementary structures first and more advanced ones with their algorithms. Sedgewick's latest "Algorithms" has Java code if you prefer, and it still rates well.
- Jodastt 7y agoI think I'll definetly check out the last one you mentioned, I'm far more comfortable with Java and CLRS was a bit too high level of maths for me (senior in hs)
- jammygit 7y agoDrozdek is a great intro text, imho. Very clear and concise, I wish he wrote more computer science texts besides on this and one on compression
- todd8 7y agoWhich one on compression?
- jammygit 7y agoI haven’t read it. A list of his books: http://www.mathcs.duq.edu/drozdek/ http://www.mathcs.duq.edu/drozdek/
- todd8 7y agoThank you, I had checked his site but I missed it. I'm interested in a good write up on modern Reed-Solomon implementations. I'll see if I can find out about Drozdek's book.
- weishigoname 7y agoMIT's "introduction to algorithm" is very helpful in your case.
- 1873leeeeek 7y agoI saw an answer on Blind suggested Data Structures & Algorithm Analysis.
- wh-uws 7y agoAlgorithms, Robert Sedgewick and Kevin Wayne https://algs4.cs.princeton.edu/home/ https://algs4.cs.princeton.edu/home/ Is my personal favorite. CLRS is a great reference but learning algorithms from it is like trying to learn English by reading the dictionary. It's great if you already know stuff and are looking for clarity or in the context of a course / class because someone has structured the curriculum already. But on its own is just a bunch of info. Sedgwick and Wanye is easier to pickup and play from scratch with.
- deleted 7y ago[deleted]
- hrgiger 7y agoNot a book but from my interview bookmarks: https://github.com/kdn251/interviews https://github.com/kdn251/interviews https://github.com/aakash1104/Graph-Algorithms https://github.com/aakash1104/Graph-Algorithms https://github.com/google/guava/wiki/GraphsExplained https://github.com/google/guava/wiki/GraphsExplained