Integer[] ints={1,2,3,3,2,5,7,8,4,3,6,7};
List<Integer> list = Arrays.asList(ints);
TreeSet<Integer> set = new TreeSet<>(list);
System.out.println("去重排序后为:"+set);
System.out.println("字符串中每个字符出现的次数为:");
Integer[] ints={1,2,3,3,2,5,7,8,4,3,6,7};
List<Integer> list = Arrays.asList(ints);
TreeSet<Integer> set = new TreeSet<>(list);
System.out.println("去重排序后为:"+set);
System.out.println("字符串中每个字符出现的次数为:");