Problem
Return the difference between the largest and smallest values in the array.
Examples
minMaxDiff([12, 5, 9, 20]) -> 15minMaxDiff([3, 3, 3]) -> 0minMaxDiff([100, 1]) -> 99
Return the difference between the largest and smallest values in the array.
minMaxDiff([12, 5, 9, 20]) -> 15minMaxDiff([3, 3, 3]) -> 0minMaxDiff([100, 1]) -> 99