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.
I do not understand the solution for the example: The existing scores are [100,90,90,80], The new players are [70,80,105]. The combined score board should be [105,100,90,80,70], so that the return should be [5,4,1] instead of [4,3,1].
Cookie support is required to access HackerRank
Seems like cookies are disabled on this browser, please enable them to open this website
Climbing the Leaderboard
You are viewing a single comment's thread. Return to all comments →
I do not understand the solution for the example: The existing scores are [100,90,90,80], The new players are [70,80,105]. The combined score board should be [105,100,90,80,70], so that the return should be [5,4,1] instead of [4,3,1].