Easy10 pts
Migratory Birds
Array of bird type ids (1-5). Return the smallest id that has the maximum count.
Input
n, then n integers 1-5.
Output
Smallest most common type id.
Sample
6 1 4 4 4 5 3
Expected
4
Loading editor…
Output
No output yet. Run your code to see results.