Leetcode 506. Relative Ranks
Given an array of unique scores, rank athletes by descending score and return an array where each original i-th athlete's rank is "Gold Medal", "Silver Medal", "Bronze Medal" for the top three and their placement number (as a string) for all others.
Question Timeline
See when this question was last asked and where, including any notes left by other candidates.
0
Hello Interview Premium
Your account is free and you can post anonymously if you choose.