npm.io
1.0.5 • Published 4 years ago

@swindle/structs

Licence
MIT
Version
1.0.5
Deps
1
Size
156 kB
Vulns
0
Weekly
0
Stars
4

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