JavaScript Algorithms

This repository implements JavaScript algorithms and data structures, with explanations and links for further reading.

github.com/trekhleb/javascript-algorithms
JavaScript Algorithms homepage screenshot

About JavaScript Algorithms

This repository contains JavaScript examples of algorithms and data structures. Each algorithm and data structure has its own README with explanations and links for further reading, including YouTube videos. It includes structures such as linked lists, queues, stacks, hash tables, heaps, trees and graphs, and algorithm topics such as math and sets. README files are available in multiple languages.

Key features

  • JavaScript examples of data structures like linked lists, stacks and queues
  • JavaScript examples of trees, graphs, heaps and hash tables
  • Math algorithms including factorial, Fibonacci and prime number methods
  • Separate README with explanations for each algorithm and structure
  • Links for further reading including YouTube videos
  • README translations in multiple languages such as Spanish, French and Japanese
Best for: People studying algorithms and data structures using JavaScript examples.
Good for
  • Code examples are implemented in JavaScript
  • Includes explanations and further reading links for each item
  • README files are offered in multiple languages

JavaScript Algorithms at a glance

Type
Open-source project
Pricing
Not confirmed. Check the site
Open source
Yes · Source code
Language
English
Last checked
Oct 5, 2026 · Online when checked
Listed
Oct 5, 2026

JavaScript Algorithms alternatives

Tools and sites you could use instead, ranked by how closely they match.

All 24 alternatives

Popular in Learn to Code

Well-known listings from the same topic.

All 387
Is something wrong or out of date?

Tell us and an editor will check it.

Own this website?

Claim the listing and suggest updates yourself. An editor checks every claim first.

Claim this listing