题目 我的代码 这题太简单了 class Solution(object): def reverseString(self, s): """ :type s: List[str] :rtype: None Do not return anything, modify s in-place instead. """ i=0 j=len(s)-1 while i<j: s[i],s[j]=s[j],s[i] i+=1 j-=1