You are given an integer array score of size n, where score[i] is the score of the ith athlete. All scores are unique. Athletes are placed by score: the highest score is 1st, the next is 2nd, and so on. The 1st place athlete gets "Gold Medal", 2nd gets "Silver Medal", 3rd gets "Bronze Medal", and from 4th place on the rank is the placement number as a string. Return an array answer where answer[i] is the rank of the ith athlete.
You are given an integer array score of size n, where score[i] is the score of the ith athlete. All scores are unique. Athletes are placed by score: the highest score is 1st, the next is 2nd, and so on. The 1st place athlete gets "Gold Medal", 2nd gets "Silver Medal", 3rd gets "Bronze Medal", and from 4th place on the rank is the placement number as a string. Return an array answer where answer[i] is the rank of the ith athlete.