One part confuses me. When you loop through the array, the first number will be the maximum. I wonder how that problem would be sorted if 2 was the first number in the array, because then 2 would be the maximum since it was the first return of the loop, and therefore you would not be able to go back and have 2 as the minimum. Am I missing something?
@simsima135