@@ -0,0 +1,655 @@
+/* Sorts a BigDecimal Array in reverseOrder */%0A%0Aimport java.io.*;%0Aimport java.math.BigDecimal;%0Aimport java.math.BigInteger;%0Aimport java.util.*;%0A%0Apublic class Solution %7B%0A    static Scanner in = new Scanner(System.in);%0A    %0A    public static void main(String%5B%5D args) %7B%0A        int n = in.nextInt();%0A        BigDecimal%5B%5D bigDecimalArray = new BigDecimal%5Bn%5D;%0A        %0A        for (int i = 0; i %3C n; i++) %7B%0A            bigDecimalArray%5Bi%5D = in.nextBigDecimal();%0A         %7D%0A        %0A        Arrays.sort(bigDecimalArray, Collections.reverseOrder());%0A        %0A        for (BigDecimal big : bigDecimalArray) %7B%0A            System.out.println(big);%0A        %7D%0A    %7D%0A%7D%0A

Create ReverseBigDecimal.java