loiane
javascript-datastructures-algorithms
TypeScript

:books: collection of JavaScript and TypeScript data structures and algorithms for education purposes. Source code bundle of JavaScript algorithms and data structures book

Last updated Jul 8, 2026
4.9k
Stars
1.2k
Forks
0
Issues
0
Stars/day
Attention Score
93
Language breakdown
TypeScript 58.5%
JavaScript 41.0%
HTML 0.5%
โ–ธ Files click to expand
README

Learning JavaScript Data Structures and Algorithms ===================================================

Project Structure

You can find the source code organized by chapter under the src folder.

Each file has the .js and the .ts extension, so you get both the JavaScript and the Typescript versions of the source code.

Each data structure and algorithm from parts 2 and 3 also have a test folder where you can find the respective Jest test cases.

How to use this repository

Install all dependencies

npm install

Run all tests

npm test

Run a particular example

cd src/01-intro
node 01-hello-variables.js

or:

node src/01-intro/01-hello-variables.js

๐Ÿ’ป Tecnologies

  • JavaScript
  • TypeScript
  • Jest (tests)
Happy Coding!

ยฉ 2026 GitRepoTrend ยท loiane/javascript-datastructures-algorithms ยท Updated daily from GitHub