Discuss the below:
Implement two recursive algorithms to solve the following problems:
Q1: Implement a recursive algorithm to find the maximum element of given integer array A. Count the number of comparisons while finding the maximum element and print input size, maximum element, and number of comparisons.
Q2: Implement a recursive algorithm to reverse given array of characters and print both arrays.