0.2.0 • Published 5 years ago

dc-singly-linked-list v0.2.0

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

SinglyLinkedList

A Singly Linked List class for Javascript

SinglyLinkedList constructor ✓ should create a linked list from an array #insert() ✓ should add a node to the list #getNode() ✓ should get the node with the indicated value #getIndexOfData(data) ✓ should get the index of the node with matching data #getNodeAtIndex() ✓ should get the node at the indicated index #getIndexOfData() ✓ should get the node at the indicated index #deleteAtIndex() ✓ should delete the node with the indicated index #delete(data) ✓ should delete the node with the indicated index #getLastNode() ✓ should return the last node in the list #getIndexOfNode() ✓ should get the index of the specified node list.isCircular ✓ should return true if theres a cyclical dependency list.size ✓ should return number of nodes in the list list.length ✓ should return number of indexes in the list list.adjacencyList ✓ should return an array representation of the list

0.2.0

5 years ago

0.1.1

5 years ago

0.1.0

5 years ago

0.0.12

5 years ago

0.0.11

5 years ago

0.0.10

5 years ago

0.0.9

5 years ago

0.0.8

5 years ago

0.0.7

5 years ago

0.0.6

5 years ago

0.0.5

5 years ago

0.0.4

5 years ago

0.0.3

5 years ago

0.0.2

5 years ago

0.0.1

5 years ago