estevanmaito / algorithms-in-javascript

Computer Science algorithms in JavaScript

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Computer Science algorithms implemented in JavaScript

IN PROGRESS

Computer Science algorithms implemented in JavaScript, based mostly on these resources:

Usage

If you want to test your knowledge

If you just want to see the algorithms

Test your knowledge

  1. Clone and install dependencies
git clone https://github.com/estevanmaito/algorithms-in-javascript
cd algorithms-in-javascript
npm install
  1. Delete the code above this line for every exercise:
const test = require('tape')
  1. Write code to make the tests pass

  2. Run tests

node file-name.js

Algorithms

Feel free to navigate around.

Data Structures

Binary Search Tree

Linked list

Queue

Stack

Sorting

Bubble sort

Bucket sort

Counting sort

Heap sort

Insertion sort

Merge sort

Quick sort

Radix sort

Selection sort

Searching

Binary search

Breadth-first search

Depth-first search

About

Computer Science algorithms in JavaScript


Languages

Language:JavaScript 100.0%