https://github.com/valerybugakov/range-collection
https://github.com/valerybugakov/range-collection
Last synced: 12 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/valerybugakov/range-collection
- Owner: valerybugakov
- Created: 2017-10-01T12:06:12.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2018-05-21T08:38:09.000Z (about 8 years ago)
- Last Synced: 2025-03-10T19:49:56.722Z (about 1 year ago)
- Language: JavaScript
- Size: 38.1 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
## Minesweeper Task
### Usage
```sh
yarn
yarn start:mine
```
## Range Collection Task
Implement a `Range Collection` class.
A pair of integers define a range, for example: `[1, 5)`.
This range includes integers: `0, 1, 2, 3, and 4`.
A range collection is an aggregate of these ranges: `[1, 5), [10, 11), [100, 201)`
### Usage
```sh
yarn
yarn start
yarn test
```