TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

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

48 pointsby jkchuover 4 years ago

4 comments

shash7over 4 years ago
This seems pretty useful. Addy&#x27;s Javascript patterns is also a useful side read: <a href="https:&#x2F;&#x2F;addyosmani.com&#x2F;resources&#x2F;essentialjsdesignpatterns&#x2F;book&#x2F;" rel="nofollow">https:&#x2F;&#x2F;addyosmani.com&#x2F;resources&#x2F;essentialjsdesignpatterns&#x2F;b...</a>
z3t4over 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.
Zababaover 4 years ago
Discussed before:<p><a href="https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=17134831" rel="nofollow">https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=17134831</a> (2018)<p><a href="https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=17573431" rel="nofollow">https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=17573431</a> (2018)
aparsonsover 4 years ago
Perhaps fix the link to point one directory up? Right now, it is in the linked-list dir
评论 #25999912 未加载