News

If the array were sorted, it would be an O (1) operation to get min and max values. Min and Max values in an unsorted array is O (N).