You are viewing a single comment's thread. Return to all comments →
emp_arr = [0]*(max(arr)+1) for i in arr: emp_arr[i] = emp_arr[i] + 1 for i in range(len(emp_arr)): if emp_arr[i] == max(emp_arr): return i
Seems like cookies are disabled on this browser, please enable them to open this website
Migratory Birds
You are viewing a single comment's thread. Return to all comments →