Ask HN: How do I learn Data Structures and Algorithms
I want to learn Data Structures and Algorithms. I want to do this for my knowledge sake and also to prepare for jobs.
So, where do i start ? which resources/books would you recommend ? How do i master Data Structures and Algorithms?
16 comments
[ 3.2 ms ] story [ 50.3 ms ] threadAn example to get started apart from those millions of options you have available for free, there's: "Grokking Algorithms: An illustrated guide for programmers and other curious people"
To learn more deeply about algorithms I'd probably start off with MIT courses.
[1] - https://www.hackerrank.com/domains/cpp
finally get a leetcode account. In many leetcode problems you don't need to know alot of these things i mentioned but studying those topics will allow you to learn different ways of thinking about problems solving.
It covers the basics and compared to CLRS, this book is very easy to read.
For instance if you are being interviewed for a role like devops or sys admin then i don’t think you’ll be asked ds algo questions but also depends on the company
https://timroughgarden.org/videos.html
U Illinois CS 374 undergrad algo course
https://jeffe.cs.illinois.edu/teaching/algorithms/
If you are just looking for code in dozens of languages, Rosetta Code has many examples
http://www.rosettacode.org/wiki/Category:Programming_Tasks
Best of Luck ;)
My first personal software application was a diff tool that compared beautified code thereby ignoring differences due to whit space and comments. I eventually moved from a bunch of plugins to custom parsers and just figured it out through trial and error.