Implement the method remove , as described in Exercise 9 of Chapter 8 , for each of the classes Array List and Linked List .
Exercise 9:
The ADT list method remove removes from the list the entry at a given position. Suppose that the ADT list has another method remove that removes a given entry from the list. Write specifications for such a method. What does your method do if the list contains duplicate entries?