You are viewing a single comment's thread. Return to all comments →
it's easy to solve with python even without counter() :
arr=list(map(int,input().split())) print(len(arr)-max([arr.count(i) for i in 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 →
it's easy to solve with python even without counter() :