You are viewing a single comment's thread. Return to all comments →
Python solution
def equalizeArray(arr): arr_dict = Counter(arr) max_num_arr = max(arr_dict.values()) return len(arr)-max_num_arr
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 →
Python solution