I missed one of my classes for data structures. Can anyone give me a general guide in solving this simple recursive problem using Linked lists. Where one has to find the min and max values of integers stored in a linked lists. Here is methods i need to use.
Write a class called MinMax that has two short recursive methods that find the minimum and maximum
values in a LinkedList ADT of Integer values without using any loops:
1 public int getMin(LinkedList<Integer> list) {
2 ...
3 }
4
5 public int getMax(LinkedList<Integer> list) {
6 ...
7 }
Thanks, all help appreciated.