4 ms·
Whether its Javascript or any other language, I think writing algorithms is a great way of driving home certain concepts when you are learning algorithms. Its e
by krat0sprakhar 12y ago
Whether its Javascript or any other language, I think writing algorithms is a great way of driving home certain concepts when you are learning algorithms. Its even more fun to use your data structures and algorithms to solve toy problems and see the difference. Obviously, this is not recommended in production where one must use battle-tested code.
I did a similar exercise when I was doing a course on Coursera in Python - https://github.com/prakhar1989/Algorithms https://github.com/prakhar1989/Algorithms
- shoki 12y agoIf you like doing this sort of thing, there are a million little CS problems like this codewars.com One cool feature of the site is that you can vote on solutions; this lets you see a lot of neat solutions to problems, and learn a lot about how to write clean code.