https://github.com/data-structures-and-algorithms/skip-list
:fast_forward: Skip list data structure for JavaScript
https://github.com/data-structures-and-algorithms/skip-list
Last synced: about 1 year ago
JSON representation
:fast_forward: Skip list data structure for JavaScript
- Host: GitHub
- URL: https://github.com/data-structures-and-algorithms/skip-list
- Owner: data-structures-and-algorithms
- License: agpl-3.0
- Created: 2020-09-11T12:03:28.000Z (over 5 years ago)
- Default Branch: main
- Last Pushed: 2025-04-12T02:09:02.000Z (about 1 year ago)
- Last Synced: 2025-04-26T14:51:14.225Z (about 1 year ago)
- Language: JavaScript
- Homepage: https://data-structures-and-algorithms.github.io/skip-list
- Size: 2.53 MB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
:fast_forward: [@data-structure/skip-list](https://data-structures-and-algorithms.github.io/skip-list)
==
Skip list data structure for JavaScript.
See [docs](https://data-structures-and-algorithms.github.io/skip-list/index.html).
> :warning: Depending on your environment, the code may require
> `regeneratorRuntime` to be defined, for instance by importing
> [regenerator-runtime/runtime](https://www.npmjs.com/package/regenerator-runtime).
```js
import {decreasing} from '@total-order/primitive';
import {range} from '@iterable-iterator/range';
import {SkipList} from '@data-structure/skip-list';
const list = SkipList.from(decreasing, range(10000));
[...list]; // [9999, 9998, ...]
list.add(...)
list.get(...)
list.has(...)
list.remove(...)
```
[](https://raw.githubusercontent.com/data-structures-and-algorithms/skip-list/main/LICENSE)
[](https://www.npmjs.org/package/@data-structure/skip-list)
[](https://github.com/data-structures-and-algorithms/skip-list/actions/workflows/ci.yml?query=branch:main)
[](https://github.com/data-structures-and-algorithms/skip-list/network/dependencies)
[](https://github.com/data-structures-and-algorithms/skip-list/issues)
[](https://www.npmjs.org/package/@data-structure/skip-list)
[](https://codeclimate.com/github/data-structures-and-algorithms/skip-list/issues)
[](https://codeclimate.com/github/data-structures-and-algorithms/skip-list/trends/churn)
[](https://codecov.io/gh/data-structures-and-algorithms/skip-list)
[](https://codeclimate.com/github/data-structures-and-algorithms/skip-list/trends/technical_debt)
[](https://data-structures-and-algorithms.github.io/skip-list/source.html)
[](https://bundlephobia.com/result?p=@data-structure/skip-list)