In: Computer Science
design two algorithms, an iterative version and a recursive version , for finding the min and max values in an array of n numbers
A.) a iterative version
B.) a recursive version
derive the time efficiency functions (or time function in terms of n) for each, analyze each function, and compare and discuss the results of the analysis