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.
your code won't work if we have two highest score, since you have considered second element of the sorted list as second highest. some thing like [1,1,1,3,4,5] as of scores.
but anyway neat and high class code u have. :D <3
Cookie support is required to access HackerRank
Seems like cookies are disabled on this browser, please enable them to open this website
Nested Lists
You are viewing a single comment's thread. Return to all comments →
your code won't work if we have two highest score, since you have considered second element of the sorted list as second highest. some thing like [1,1,1,3,4,5] as of scores. but anyway neat and high class code u have. :D <3