题目 https://leetcode-cn.com/problems/reverse-string/ 思路 这道题非常简单,日常双指针 public void reverseString(char[] s) { int left = 0; int right = s.length-1; char temp ; while(left<right){ temp = s[left]; s[left] = s[right]; s[right] = temp; left++; right--; } }