mirror of
https://github.moeyy.xyz/https://github.com/trekhleb/javascript-algorithms.git
synced 2024-11-13 06:23:00 +08:00
25 lines
840 B
Markdown
25 lines
840 B
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
|
|
|
|
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)
|
|
|
|
## [Algorithms](https://github.com/trekhleb/javascript-algorithms/tree/master/src/algorithms)
|
|
|
|
## Running Tests
|
|
|
|
**Run all tests**
|
|
```
|
|
npm test
|
|
```
|
|
|
|
**Run tests by name**
|
|
```
|
|
npm test -- -t 'LinkedList'
|
|
```
|