Migratory Birds

  • + 0 comments

    Pyhton3 solution

    def migratoryBirds(arr):
        # Write your code here
        temp = [0]*len(arr)
        for i in arr:
            temp[i] += 1
        return temp.index(max(temp))