sqm

344. Reverse StringsqmC++

C++

#include <iostream>
#include <vector>
using namespace std;
class Solution {
 public:
  void reverseString(vector<char>& s) { reverse(s.begin(), s.end()); }
};