Holly-Ellington / DSA-LL

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

DSA

Linked Lists

Data structures: Linked lists To succeed at this challenge, you'll need to demonstrate that you can do the following:

Modify an existing LinkedList class to implement a singly linked list. You will not need to make any edits to HTML or CSS for this project.

Instructions Your goal for this assessment is to get the tests to pass. To do so, you will be modifying an existing LinkedList class.

Existing files File path Description src/main.js Contains some example uses of the LinkedList class src/linkedList.js Contains the definition of the LinkedList class Tasks Complete the following tasks to pass the tests and this assessment.

In the src/linkedList.js file, implement a singly linked list that passes the tests. Note: The insertAtHead function is a new function that you will need to implement.

Once these tasks are complete, all tests should pass.

About


Languages

Language:JavaScript 100.0%