You are viewing a single comment's thread. Return to all comments →
C# solution
public static int migratoryBirds(List<int> arr) { int[] newArr = new int[arr.Count]; arr.ForEach(bird => newArr[bird]++); return Array.IndexOf(newArr, newArr.Max()); }
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 →
C# solution