class Solution {
public:
void reverseString(vector<char>& s) {
int len=s.size();
if(len==0){
return;
}
int i=0;
int j=len-1;
while(i<j){
char temp=s[i];
s[i]=s[j];
s[j]=temp;
i++;
j--;
}
}
};