You are viewing a single comment's thread. Return to all comments →
def equalizeArray(arr): min = len(arr) for num in arr: if min > len(arr) - arr.count(num): min = len(arr) - arr.count(num) return min
Seems like cookies are disabled on this browser, please enable them to open this website
Equalize the Array
You are viewing a single comment's thread. Return to all comments →