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

Build gen AI apps with an all-in-one modern database: MongoDB Atlas

MongoDB Atlas provides built-in vector search and a flexible document model so developers can build, scale, and run gen AI apps without stitching together multiple databases. From LLM integration to semantic search, Atlas simplifies your AI architecture—and it’s free to get started.
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