You are viewing a single comment's thread. Return to all comments →
My Python 3 Solution
def minimumAbsoluteDifference(arr): # Write your code here arr.sort() li=[] for i in range (len(arr)-1): li.append(abs(arr[i]-arr[i+1])) return min(li)
Seems like cookies are disabled on this browser, please enable them to open this website
Minimum Absolute Difference in an Array
You are viewing a single comment's thread. Return to all comments →
My Python 3 Solution