You are viewing a single comment's thread. Return to all comments →
#Python Solution def migratoryBirds(arr): birds = {bird:arr.count(bird) for bird in set(arr)} return min(int(bird) for bird, count in birds.items() if count == max(map(int,birds.values())))
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 →