第一种 使用StringBuilder
String maxStr = a.length() > b.length() ? a : b;
String minStr = a.length() < b.length() ? a : b;
int diff = maxStr.length() - minStr.
第一种 使用StringBuilder
String maxStr = a.length() > b.length() ? a : b;
String minStr = a.length() < b.length() ? a : b;
int diff = maxStr.length() - minStr.