一开始: if(str1Len == 0 || str2Len == 0){ return "-1"; } 最后: if(sb.length() == 0){ return "-1"; } 记得判空(异常处理)
4
牛客网
牛客网在线编程
牛客网题解
牛客企业服务