We use cookies to ensure you have the best browsing experience on our website. Please read our cookie policy for more information about how we use cookies.
Question. Why is the list 'count' of length '6'? We only have 5 classes of bird types right? Also what does max(count) return when all classes of birds have equal occurences? Does it return the one with the smallest ID?
Cookie support is required to access HackerRank
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 →
Question. Why is the list 'count' of length '6'? We only have 5 classes of bird types right? Also what does max(count) return when all classes of birds have equal occurences? Does it return the one with the smallest ID?