Please show steps and explain how to get the answer.
Give a recursive algorithm for:
a) Finding the maximum of a finite set of integers, making use of the fact that the maximum of n integers is the larger of the last integer in the list and the maximum of the first n - 1 integers in the list.
b) Computing a^n