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
$300 Free Credits to Build on Google Cloud Icon
$300 Free Credits to Build on Google Cloud

New customers can spin up VMs, build with AI, and query data at no cost.

Put your $300 in credit toward real workloads, then keep building with free monthly usage for 20+ products. No commitment and no charge until you upgrade.
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