Find all pairs of elements whose difference equals the minimum absolute difference in the array.
Unlock detailed company stats for this questionUpgrade
Given an array, find all pairs of elements whose difference equals the minimum absolute difference in the array. Example: [1,3,10,7,5] -> [[1,3],[5,7]] (minimum absolute difference is 2).
Community answers
No answers contributed by the community yet.


