# JavaScript Algorithms

> Algorithms and data structures in JavaScript

Common algorithms and data structures written in JavaScript, each with an explanation and links to read more.

- Source: https://github.com/trekhleb/javascript-algorithms
- License: MIT
- Built with: JavaScript 100.0%
- Stars: 196703
- Forks: 30993
- Contributors: 215
- Last commit: 2026-07-26
- Purpose: Interview prep
- Type: Guide / course
- For: Personal

## Worth score: 59/100

How much DigGitHub recommends it, from activity, adoption, docs, license and security signals.

- Popularity: 25/25
- Momentum: 10/20
- Maintenance: 5/25
- Community: 14/15
- Readiness: 5/15

## Alternatives

- [Coding Interview University](https://diggithub.com/jwasham/coding-interview-university.md): Study plan for software engineering interviews
- [Hello Algo](https://diggithub.com/krahets/hello-algo.md): Data structures and algorithms book with animations
- [Tech Interview Handbook](https://diggithub.com/yangshun/tech-interview-handbook.md): Coding interview prep for busy engineers
- [System Design Primer](https://diggithub.com/donnemartin/system-design-primer.md): Learn to design large systems and pass the interview

---

Source page: https://diggithub.com/trekhleb/javascript-algorithms
Updated: 2026-10-29
