class Solution {
public String printMinNumber(int[] nums) {
List<String>list=new ArrayList<>();
for(int num:nums)list.add(String.valueOf(num));
// 30 和3 303<330 此时30<3
list.sort((o1,o2)->(o1+o2).compareTo(o2+o1));
return String.join("",list);
}
}