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.
Climbing the Leaderboard
Climbing the Leaderboard
Sort by
recency
|
2394 Discussions
|
Please Login in order to post a comment
` def climbingLeaderboard(ranked, player): ranks = list(set(ranked)) ranks.sort(reverse=True)
C# Solved
https://red-horse.tistory.com/135
I guess in Java the ranked input is not always sorted correctly. Tried it multiple ways and always failed. As soon as I sorted "ranked" manually and didnt count on it to be sorted I passed.
TypeScript: