@@ -0,0 +1,365 @@
+// https://community.topcoder.com/stat?c=problem_statement&pm=10233%0A%0Aimport java.util.Set;%0Aimport java.util.HashSet;%0A%0Apublic class TheBeauty %7B%0A%09public static int find(int n) %7B%0A%09%09Set%3CInteger%3E distinctDigitsInNumber = new HashSet%3CInteger%3E();%0A%09%09%0A%09%09while (n != 0) %7B%0A%09%09%09distinctDigitsInNumber.add(n %25 10);%0A%09%09%09n /= 10;%0A%09%09%7D%0A%09%09%0A%09%09return distinctDigitsInNumber.size();%0A%09%7D%0A%7D%0A

Create TheBeauty.java