linkedList-Javascript

A LinkedList is a class that encapsulated the Nodes. It will contain;

  • a head property that is a pointer to the first Node.
  • a tail property that is a pointer to the last Node.
  • a count property that keeps track of node count.
  • add and Remove methods to manipulate the nodes in the list.