CS 46B Fall 2019 Homework8: Linked Lists
In this homework you will implement find() and duplicate() methods for a linked list class. To
keep things simple, the list class and its node class aren’t generic. The data of each node is one char, stored in a CharNode class that is provided. In the Eclipse workspace of your choice, create a new Java project containing package “ linked ” and add to it the 3 provided source files: CharNode. java, CharLinkedList. java, and LinkedListTester. java.
Add the following methods to CharLinkedList. java:
test code.
The CharNode starter file contains a hasIntegrity() method that checks some (but not all) aspects of list integrity . Use it (maybe in assert statements) in your find() and duplicate() methods if it helps you.
This is a win - or - lose assignment. If your code passes the graderbot (class LinkedListTester), you get 100 points. If your code fails any part of the graderbot, you get zero points. As always, work will not be accepted after the deadline.
2019-11-15
In this homework you will implement find() and duplicate() methods for a linked list class.