HackerRank Java Climbing the Leaderboard

문제풀기 : https://www.hackerrank.com/challenges/climbing-the-leaderboard/problem Alice is playing an arcade game and wants to climb to the top of the leaderboard and wants to track her ranking. The game uses Dense Ranking , so its leaderboard works like this: The player with the highest score is ranked number on the leaderboard. Players who have equal scores receive the same ranking number, and the next player(s) receive the immediately following ranking number. For example, the four players on the leaderboard have high scores of , , , and . Those players will have ranks , , , and , respectively. If Alice's scores are , and , her rankings after each game are , and . Function Description Complete the climbingLeaderboard function in the editor below. It should return an integer array where each element represents Alice's rank after the...