public class Solution { /** * 反转字符串 * @param str string字符串 * @return string字符串 */ public String solve (String str) { if(str.length()>0 && str.length()<1000){ char[] charStr = str.toCharArray();//转化为字符数组[a,b,c,d] String resultS...