0.0.2 • Published 8 years ago
max-diff v0.0.2
max-diff
maxDiff(2, 1, 3, 5, 4) = { min: 1, max: 5, diff: 4 }
#Description Find a pair items in a collection with the biggest distance by difference.
maxDiff(2, 1, 3, 5, 4) = { min: 1, max: 5, diff: 4 }
#Description Find a pair items in a collection with the biggest distance by difference.