javascript-algorithms is an open source repository by Oleksii Trekhleb that provides implementations of algorithms and data structures in JavaScript. Each algorithm includes explanations, complexity analysis, and references for further reading, making it both a coding resource and a study guide. The repository covers topics such as sorting, searching, graph algorithms, cryptography, and data structures like linked lists, stacks, and queues. It is designed to help developers understand algorithm fundamentals and practice problem-solving with JavaScript. Multilingual README files make the resource accessible to a global audience. With strong community engagement, it is one of the most popular algorithm repositories on GitHub.

Features

  • Implements common algorithms in pure JavaScript
  • Covers data structures like linked lists, trees, heaps, and graphs
  • Includes explanations and links to theoretical resources
  • Provides both classic and advanced algorithm implementations
  • Supports test cases to verify correctness
  • Useful for coding interview practice and CS learning

Project Samples

Project Activity

See All Activity >

Categories

Libraries

License

MIT License

Follow JavaScript Algo and Data Structures

JavaScript Algo and Data Structures Web Site

Other Useful Business Software
Gen AI apps are built with MongoDB Atlas Icon
Gen AI apps are built with MongoDB Atlas

The database for AI-powered applications.

MongoDB Atlas is the developer-friendly database used to build, scale, and run gen AI and LLM-powered apps—without needing a separate vector database. Atlas offers built-in vector search, global availability across 115+ regions, and flexible document modeling. Start building AI apps faster, all in one place.
Start Free
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of JavaScript Algo and Data Structures!

Additional Project Details

Programming Language

JavaScript

Related Categories

JavaScript Libraries

Registered

2025-09-26