1.3.0 • Published 5 years ago
basic-linked-list v1.3.0
###Require:
const LinkedList = require('basic-linked-list');
###Create a Instance.
const ll = new LinkedList();
###Methods :
ll.insertAtStart(data)
Insert at the start of the List.
ll.insertAtEnd(data)
Insert at the End of the List.
ll.deleteFirstNode()
Deletes the First Node of the List.
ll.deleteLastNode()
Deletes the Last Node of the List.
ll.searchNode()
Searches for the Node in the Linked List.
ll.displayNodes()
Displays all the Nodes in the Linked List from Left to Right.