#include <iostream> #include <vector> #include <queue> #include <string> using namespace std; class Solution{ public: vector<string> rev(vector<string> str){ vector<string> res; for(int i = 0; i < str.size(); i++){ res.push_back(helper(str[i])); ...