Question: Please answer all 2 Lists 8. (5 points) Suppose you have some List of Integers. Write a method that finds the mini maximum values stored
2 Lists 8. (5 points) Suppose you have some List of Integers. Write a method that finds the mini maximum values stored in the list and returns their sums, regardless of implementation of the List. public int minPlusMax/Listcinteger>- list) int min Integer.MAX_VALUE; int max Integer.MIN VALUE; return min+max; ) 9. (2 points) What is the time complexity of this algorithm? 9. 7 points Page 5 of 14
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
