Sponsored
Sponsored
Use these hints if you're stuck. Try solving on your own first.
Find the minimum absolute difference between two elements in the array.
The minimum absolute difference must be a difference between two consecutive elements in the sorted array.