---
name: javascript-datastructures-algorithms
summary: "javascript-datastructures-algorithms is an open-source JavaScript project with 4.9k GitHub stars. It is associated with algorithm, avl-tree, binary-tree, data-structures. The repository is actively maintained, with recent commits."
language: JavaScript
license: MIT
repo: https://github.com/loiane/javascript-datastructures-algorithms
source: https://opensources.dev/resource/javascript-datastructures-algorithms
health: 95
---

# javascript-datastructures-algorithms

javascript-datastructures-algorithms is an open-source JavaScript project with 4.9k GitHub stars. It is associated with algorithm, avl-tree, binary-tree, data-structures. The repository is actively maintained, with recent commits.

# 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**

```tsx
npm install
```

**Run all tests**

```tsx
npm test
```

**Run a particular example**

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

or:

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

## 💻 Tecnologies

- JavaScript
- TypeScript
- Jest (tests)

Happy Coding!
