Description
javascript-datastructures-algorithms is a companion code repository for a book on data structures and algorithms in JavaScript. It collects the source code of the book's examples, organized by chapter under a src folder. Every file is provided in both JavaScript and TypeScript, so readers can follow either. For the data structures and algorithms in the second and third parts of the book, a matching test folder holds Jest test cases. The README explains how to install all dependencies, run all tests, and run one particular example. The project is built with JavaScript, TypeScript and Jest. Its purpose is education: it is a way to read and run the code behind the book's explanations of linked lists, stacks, queues, trees, graphs, sorting and similar topics. The repository is public on GitHub and is intended as a learning resource for developers who want to understand how the structures work in code.…
Highlights
- Book examples organized by chapter
- JavaScript and TypeScript versions of each file
- Jest test cases for the core structures and algorithms
- Runnable examples
Ratings & Reviews
No ratings yet
Be the first to rate Javascript Datastructures Algorithms.
People also visit
Codetogo.io
JavaScript code to go - Find updated snippets for common JavaScript use cases
Javascript Datastructures Algorithms FAQ
What is this repository?
The source code bundle for a book on JavaScript data structures and algorithms, organized by chapter.
Is there TypeScript code too?
Yes. Each file has both a .js and a .ts version, according to the README.
How do I run the tests?
The README has steps to install the dependencies, run all tests, or run a particular example.
Is it free?
Yes. The source code is public on GitHub and the README describes it as educational.
What are the best Javascript Datastructures Algorithms alternatives?
Popular alternatives to Javascript Datastructures Algorithms include PHPAlgorithms, Codetogo.io and Fallow. See all Javascript Datastructures Algorithms alternatives







