You are viewing a single comment's thread. Return to all comments →
python
def migratoryBirds(arr): max_count = 0 mostcommontype = -1 for v in sorted(set(arr), reverse=True): count_v = arr.count(v) if count_v >= max_count: max_count = count_v mostcommontype = v return mostcommontype
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 →
python