def migratoryBirds(arr):
# Write your code here
return max(set(arr), key = arr.count)
'# 코딩 문제 관련 > 파이썬' 카테고리의 다른 글
[HackerRank-python] Bill Division (0) | 2022.07.03 |
---|---|
[HackerRank-python] Day of the Programmer (0) | 2022.07.03 |
[HackerRank-python] Divisible Sum Pairs (0) | 2022.07.03 |
[HackerRank-python] Subarray Division (0) | 2022.07.03 |
[HackerRank-python] Breaking the Records (0) | 2022.07.02 |