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.
what if longest name has multiple entries? for eg. rownum has values 1-500, but 496-500 are same. Task in this case is to pick 496th entry(alphabetical), but solution here picks 500th value not the 496th value.
Cookie support is required to access HackerRank
Seems like cookies are disabled on this browser, please enable them to open this website
Weather Observation Station 5
You are viewing a single comment's thread. Return to all comments →
what if longest name has multiple entries? for eg. rownum has values 1-500, but 496-500 are same. Task in this case is to pick 496th entry(alphabetical), but solution here picks 500th value not the 496th value.