HACKER Q&A
📣 seancork

Where to learn basic data structures and algorithms


I suck at basic data structures and algorithms. I'm just wondering where is the best place to get good at these? best websites to use, best books, or anyone have a list of what to learn?


  👤 gregjor Accepted Answer ✓
I learned a lot from Knuth’s series The Art of Computer Programming decades ago. That’s at least a solid foundation. Harvard’s CS50 is available online, to name one of many reputable comp sci classes you can find.

👤 pcvarmint
CLRS (Cormen / Leiserson), "The Art of Computer Programming" (Knuth), "Algorithms from P to NP" (Moret & Shapiro), "Algorithms: Their complexity and efficiency" (Kronsjo)

👤 yesenadam
I suggest searching for past AskHNs on the topic. This question is one of the most frequently asked, at least monthly I reckon.