trekhleb/javascript-algorithms

๐Ÿ“ Algorithms and data structures implemented in JavaScript with explanations and links to further readings

Open original source โ†—

What this repository does

๐Ÿ“ Algorithms and data structures implemented in JavaScript with explanations and links to further readings

Repository facts

Owner
trekhleb
Primary language
JavaScript
Stars
196,712
Forks
31,035
Open issues + pull requests
406
License
MIT
Archived
No
Default branch
master
Created
2018-03-24T07:47:04.000Z
Last push
2026-07-26T02:43:08.000Z

Topics and intended use

Owner-supplied topics: algorithm, algorithms, computer-science, data-structures, interview, interview-preparation, javascript, javascript-algorithms

Review the README for scope, installation, examples and limitations. We do not run repository code or certify it.

Evaluate before installing

Review licensing and dependencies, inspect recent commits and unresolved issues, and test in an isolated environment before production use. Stars and forks alone cannot answer these questions.

README and project files

Issues and maintenance discussion

Releases and changelog

Source and freshness

Source: GitHub. Metadata observed 2026-09-15T06:38:46.502Z. Daily imports are snapshots, not real-time monitoring.

Popularity and source listings do not establish security, suitability, licensing rights or benchmark performance.

Open original source

Related repositories

affaan-m/ECC

react/react

Snailclimb/JavaGuide

airbnb/javascript

vercel/next.js

DietrichGebert/ponytail