JavaScript Algorithms and Data Structures (examples and explanations of each)

48 points by jkchu 4 years ago | 5 comments
  • shash7 4 years ago
    This seems pretty useful. Addy's Javascript patterns is also a useful side read: https://addyosmani.com/resources/essentialjsdesignpatterns/b...
    • z3t4 4 years ago
      You 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.
      • Zababa 4 years ago
        • aparsons 4 years ago
          Perhaps fix the link to point one directory up? Right now, it is in the linked-list dir
          • joshspankit 4 years ago
            I 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.