Your task is to implement the constructor, addToHead
and addToTail
function
for a LinkedList
and a DoublyLinkedList
.
Read the specs for details.
- Clone the starter repo.
- Install all packages by typing
npm install
. - Read through the test specs to understand the task.
- Run specs with
npm test
.
- Singly Linked List - implement the most basic linked list
- Doubly Linked List - implement a more complex linked list
- Comparing performance - compare the performance between a singly and doubly linked lists