Swindle/Structs
Swindle/Structs provides implementations for basic data structures.
Installation
To install Swindle/Structs with NPM,
npm install @swindle/structs
With yarn
yarn add @swindle/structs
Usage
Swindle/Structs provide the following data structures.
- LinkList provides an implementation of a LinkList.
- PriorityQueue provides an implementation of a priority queue.
- Queue provides an implementation of a queue.
- Stack provides an implementation of a stack.
Tests
To run the tests, use the following command with NPM
npm run test
with Yarn
yarn test