12 ms·
JavaScript Algorithms and Data Structures (examples and explanations of each)
- aparsons 6y agoPerhaps fix the link to point one directory up? Right now, it is in the linked-list dir
- joshspankit 6y agoI actually came here to say that linking to a specific one was the smart move. I find it trivial to go up one dir in GH, but I’m rarely sure what folder to drill down in to to find a good direct example. And linked-list is an excellent direct example.
- z3t4 6y agoYou should write your code so that it can be easy to change. Instead of reusing something to save you 5 minutes of typing, just use it as boiler plate and rip out what you dont need and rewrite the stuff that is not exactly what you need. And use language built in structures rather then defining your own, it makes the code easier for others and more performant.
- shash7 6y agoThis seems pretty useful. Addy's Javascript patterns is also a useful side read: https://addyosmani.com/resources/essentialjsdesignpatterns/book/ https://addyosmani.com/resources/essentialjsdesignpatterns/b...
- Zababa 6y agoDiscussed before: https://news.ycombinator.com/item?id=17134831 https://news.ycombinator.com/item?id=17134831 (2018) https://news.ycombinator.com/item?id=17573431 https://news.ycombinator.com/item?id=17573431 (2018)