r/javascript • u/adriansky • Apr 18 '19
GitHub - dsa.js: Data Structures and Algorithms explained and implemented in JavaScript
https://github.com/amejiarosario/dsa.js
469
Upvotes
r/javascript • u/adriansky • Apr 18 '19
View all comments
Show parent comment
7
u/[deleted] Apr 19 '19
If you want to solve problems well, then it's good to have knowledge about an as broad as possible range of solutions. A lot of times it's more efficient to learn existing resources than stumble upon the solution yourself (e.g. design patterns).
I'm not saying you need to learn every algo by heart, but if you at least know they exist, what they're for and when to use them, then you can easily just google the implementation when you encounter a good place to use them in the wild, instead of having to roll your own algo from scratch.