You are viewing a single comment's thread. Return to all comments →
**Simple Python Solution **
from collections import Counter as c def equalizeArray(arr): dict = c(arr) m = max(dict.values()) return len(arr)-m
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 →
**Simple Python Solution **