Hacker GitHub

← All repos

trekhleb/javascript-algorithms

View on GitHub ↗ ★ 196,716 JavaScript

📝 Algorithms and data structures implemented in JavaScript with explanations and links to further readings

25 mentions on Hacker News by 18 people: 18 stories, 7 comments · first 2018-05-21 · latest 2025-11-08

Mentions per year 25 mentions · busiest year 2018 (12)
20082026
  1. ▲ 1
    Dijkstra's Algorithm in JavaScript
    story by trekhleb · 2025-11-08 · 0 comments
  2. ▲ 183
    JavaScript-algorithms: Algorithms and data structures implemented in JavaScript
    story by kiyanwang · 2023-04-07 · 76 comments
  3. ▲ 1
    Weighted Random Algorithm in JavaScript
    story by todsacerdoti · 2021-10-22 · 0 comments
  4. ▲ 115
    JavaScript Algorithms and Data Structures (2018)
    story by oleksiitwork · 2021-10-20 · 30 comments
  5. ▲ 49
    Binary representation of floating-point numbers
    story by trekhleb · 2021-07-24 · 18 comments
  6. ▲ 1
    JavaScript Algorithms and Data Structures
    story by mariuz · 2021-07-11 · 0 comments
  7. ▲ 48
    JavaScript Algorithms and Data Structures (examples and explanations of each)
    story by jkchu · 2021-02-02 · 5 comments
  8. ▲ 2
    Algorithms and Data Structures in JavaScript
    story by oleksiitwork · 2020-11-18 · 0 comments
  9. ▲ 3
    JavaScript Algorithms and Data Structures
    story by tambourine_man · 2019-12-13 · 0 comments
  10. ▲ 2
    Complex Numbers Implementation in JavaScript with Examples and Explanations
    story by trekhleb · 2018-08-11 · 0 comments
  11. ▲ 249
    Classic Algorithms Implemented in JavaScript
    story by trekhleb · 2018-07-20 · 34 comments
  12. ▲ 2
    Algorithms and Data Structures in JavaScript with Explanations
    story by netgusto · 2018-07-18 · 0 comments
  13. ▲ 2
    JavaScript Implementation of Interpolation Search Algorithm
    story by trekhleb · 2018-07-18 · 0 comments
  14. ▲ 1
    Minimum edit distance algorithm explained with examples in JavaScript
    story by trekhleb · 2018-06-23 · 0 comments
  15. ▲ 5
    Lots of algorithms and data structures implemented in JavaScript
    story by formikaio · 2018-05-25 · 0 comments
  16. ▲ 483
    Algorithms and Data Structures Explained and Implemented in JavaScript
    story by deckermann · 2018-05-23 · 43 comments
  17. ▲ 2
    Algorithms and data structures implemented in JavaScript with explanations
    story by jesperht · 2018-05-22 · 0 comments
  18. ▲ 2
    Algorithms and data structures implemented on JavaScript
    story by trekhleb · 2018-05-21 · 0 comments