字符串翻转基础问题 思想:利用递归的思想,切蛋糕的思维 代码实现: public static String reverses(String s,int cur) {if(cur==0) {return String.valueOf(s.charAt(cur));}St……