from Hacker News

Ask HN: Where to learn basic data structures and algorithms

by seancork on 9/28/20, 8:50 PM with 3 comments

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?
  • by gregjor on 9/28/20, 9:44 PM

    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.
  • by pcvarmint on 9/29/20, 12:30 AM

    CLRS (Cormen / Leiserson), "The Art of Computer Programming" (Knuth), "Algorithms from P to NP" (Moret & Shapiro), "Algorithms: Their complexity and efficiency" (Kronsjo)
  • by yesenadam on 9/29/20, 5:41 AM

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