LeetCode
Relative Ranks
Click
here
for an explanation.