Update findMinMax.java