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 stores the frequency of occuring of different elements at the respective indices and we start finding out the maximum number of times a number has repeated and use that index to print the number
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 stores the frequency of occuring of different elements at the respective indices and we start finding out the maximum number of times a number has repeated and use that index to print the number