Mackoyokcam / 10-linked-list

10-linked-list

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

cf Lab 10: Doubly Linked List

Submission Instructions

  • Work in a fork of this repository
  • Work in a branch on your fork
  • Write all of your code in a directory named lab- + <your name> e.g. lab-susan
  • Open a pull request to this repository
  • Submit on canvas a question and observation, how long you spent, and a link to your pull request

Configuration

Configure the root of your repository with the following files and directories. Thoughfully name and organize any aditional configuration or module files.

  • README.md - contains documentation
  • .gitignore - contains a robust .gitignore file
  • .eslintrc - contains the course linter configuratoin
  • .eslintignore - contains the course linter ignore configuration
  • package.json - contains npm package config
  • model/ - contains module definitions
  • __test__/ - contains test modules

Feature Tasks

Doubly Linked List

Create a DoublyLinkedLinked constructor using ES6 class syntax

  • Add an append method that appends a DoublyLinkedList node to the list
  • Add a remove method that removes a Node from a doubly linked list by reference
  • Add a method of your choise to the constructor (use array methods for inpiration)

Tests

Unit test each method of your constructor.

Documentation

In your README.md describe the exported values of each module you have defined. Every function description should include it's airty (expected number of paramiters), the expected data for each paramiter (data-type and limitations), and it's behavior (for both valid and invalued use). Feel free to write any additional information in your README.md.

About

10-linked-list


Languages

Language:JavaScript 100.0%