0
/ 70
Given an integer array length of 1 or more, return the difference between the largest and smallest values in the array. Note that the...
Given an integer array length of 1 or more, return the difference between the largest and smallest values in the array. Note that the built-in Math.min(v1, v2)
and Math.max(v1, v2)
methods return the smaller or larger of two values. So Math.min(10, 1)
will return 1.
Your feedback will appear here when you check your answer.