📝 JavaScript Algorithms and Data-Structures
projectAlgorithms and data structures implemented in JavaScript with explanations and links to further readings
- JavaScript
- Jest
- Algorithms
- Data Structures
About
JavaScript Algorithms and Data Structures is a collection of classic data structures and algorithms implemented in JavaScript. Each one comes with its own explanation and links to further reading, including videos.
The data structures range from linked lists, queues, stacks and hash tables to heaps, tries, trees, graphs, disjoint sets and Bloom filters. The algorithms are grouped by topic, such as math, sets, strings, searching, sorting, trees, graphs, cryptography and machine learning, and by paradigm: brute force, greedy, divide and conquer, dynamic programming, backtracking, and branch and bound.
The implementations come with Jest tests, and the README includes Big O cheat sheets for data structure operations and sorting algorithms. It's widely used to learn computer science fundamentals and to prepare for technical interviews, and volunteers have translated it into many languages.











































































