You are viewing a single comment's thread. Return to all comments →
def migratoryBirds(arr): d = dict() for i in arr: if i not in d: d[i] = 1 else: d[i] += 1 res = min([k for k, v in d.items() if v == max(d.values())]) return res
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 →