public String largestNumber(int[] nums) {
        String[] arr = Arrays.toString(nums).split("[\\[\\]]")[1].split(", ");
        Comparator c = new Compare();
        Arrays.sort(arr, c);
        String res = "";
        if (arr[0].equals("0"))
            return "0";
        for (String s : arr)
            res += s;
        return res;
    }