0.3.1 • Published 4 years ago

@jesusgm/datastructurejs v0.3.1

Weekly downloads
1
License
MIT
Repository
github
Last release
4 years ago

JS Data structures

npm Build Status GitHub code size in bytes GitHub Release Date NPM

Package with some data structures implemented in JavaScript for academic purposes but it can be used for everyone that want

Available data structures

  • SimpleLinkedList
  • DoubleLinkedList
  • Stack
  • Queue
  • Graph

Installation

Install package executing these command:

    npm i @jesusgm/datastructurejs --save

Usage

const SimpleLinkedList = require('@jesusgm/datastructurejs').SingleLinkedList;

const ll = new SimpleLinkedList();

ll.appendHead(1);
ll.appendHead(2);
ll.appendHead(3);

console.log(ll.toString());

Returns

3 -> 2 -> 1 -> null

License

MIT

0.3.1

4 years ago

0.3.0

4 years ago

0.2.1

4 years ago

0.2.0

4 years ago

0.1.0

4 years ago

0.0.1

4 years ago