You are viewing a single comment's thread. Return to all comments →
for(int i : a) nums.put(i, nums.get(i) + 1); O(n)... LOL
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 →
for(int i : a) nums.put(i, nums.get(i) + 1); O(n)... LOL