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.
It is a function to which iterables are passed and the comparison is done based on the value returned by this (here numbers.count which count how many 1, 2, 3(elements in list) etc are present in numbers list) function. Maximizing numbers on the basis of count.
Cookie support is required to access HackerRank
Seems like cookies are disabled on this browser, please enable them to open this website
Day 0: Mean, Median, and Mode
You are viewing a single comment's thread. Return to all comments →
It is a function to which iterables are passed and the comparison is done based on the value returned by this (here numbers.count which count how many 1, 2, 3(elements in list) etc are present in numbers list) function. Maximizing numbers on the basis of count.