[Solution]506. Relative Ranks
Problem Problem_Link Solutions (time, space) O(n), O(n) public class Solution { public String[] findRelativeRanks(int[] nums) { Integer[] index = new Integer[nums.length]; String[] result = new String[nums.length]; for (i...
Dec 21, 20222 min read20
![[Solution]506. Relative Ranks](/_next/image?url=https%3A%2F%2Fcdn.hashnode.com%2Fres%2Fhashnode%2Fimage%2Fupload%2Fv1671656024014%2Fisf42RGQ8.jpeg&w=3840&q=75)