javascript-algorithms/README.md
2018-04-02 09:23:32 +03:00

31 lines
1.3 KiB
Markdown

# JavaScript Algorithms and Data Structures
[![Build Status](https://travis-ci.org/trekhleb/javascript-algorithms.svg?branch=master)](https://travis-ci.org/trekhleb/javascript-algorithms)
## [Data Structures](https://github.com/trekhleb/javascript-algorithms/tree/master/src/data-structures)
1. [Linked List](https://github.com/trekhleb/javascript-algorithms/tree/master/src/data-structures/linked-list)
2. [Queue](https://github.com/trekhleb/javascript-algorithms/tree/master/src/data-structures/queue)
3. [Stack](https://github.com/trekhleb/javascript-algorithms/tree/master/src/data-structures/stack)
4. [Hash Table](https://github.com/trekhleb/javascript-algorithms/tree/master/src/data-structures/hash-table)
5. [Heap](https://github.com/trekhleb/javascript-algorithms/tree/master/src/data-structures/heap)
5. [Trie](https://github.com/trekhleb/javascript-algorithms/tree/master/src/data-structures/trie)
## [Algorithms](https://github.com/trekhleb/javascript-algorithms/tree/master/src/algorithms)
* Math
* [Fibonacci Number](https://github.com/trekhleb/javascript-algorithms/tree/master/src/algorithms/math/fibonacci)
* [Cartesian Product](https://github.com/trekhleb/javascript-algorithms/tree/master/src/algorithms/math/cartesian-product)
## Running Tests
**Run all tests**
```
npm test
```
**Run tests by name**
```
npm test -- -t 'LinkedList'
```