C++ 3 line easy
```\nclass Solution {\npublic:\n    string reverseStr(string s, int k) {\n        \n        for(int i = 0 ; i < s.size() ; i+=2*k) \n            \n            r
```\nclass Solution {\npublic:\n    string reverseStr(string s, int k) {\n        \n        for(int i = 0 ; i < s.size() ; i+=2*k) \n            \n            reverse(s.begin()+i,min(s.begin()+i+k,s.end()));                   \n        \n        return s;\n    }\n};\n\n
[]