Question: Write a method that randomly removes and returns an item from a linked list. Write the method such that a. the method uses only

Write a method that randomly removes and returns an item from a linked list. Write the method such that a. the method uses only the ADT List operations; that is, it is independent of the list's implementation. b. the method assumes and uses the reference-based implementation of the ADT List. c. the method assumes and uses the array-based implementation of the ADT List.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
