Skip to content
This repository has been archived by the owner on Feb 8, 2020. It is now read-only.

Linked List implementation for javascript.

License

Notifications You must be signed in to change notification settings

mongodb-js/hadron-linked-list

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

hadron-linked-list

Hadron Linked List is a set of linked list implementations in Javascript.

Installation

npm install --save hadron-linked-list

Usage

'use strict';

const DoublyLinkedList = require('hadron-linked-list').DoublyLinkedList;

var list = new DoublyLinkedList();
list.insertEnd('first');
list.insertEnd('second');
list.insertEnd('third');

for (let value of list) {
  console.log(value);
}

License

Apache 2.0