• + 0 comments
    def equalizeArray(arr):
        d=dict(Counter(arr))
        return len(arr) - max(d.values())