[C++]  simple solution using c++
simple scan\nreverse k elements \njump 2k elements in iterating arrray\n\n\n\nclass Solution {\npublic:\n    \n    //1. reverse k elements and  jump 2k elements
simple scan\nreverse k elements \njump 2k elements in iterating arrray\n\n\n```\nclass Solution {\npublic:\n    \n    //1. reverse k elements and  jump 2k elements\n    string reverseStr(string s, int k) {\n        \n        for (int i = 0; i < s.size(); i += 2*k) {\n            reverse(s.begin()+i, min(s.begin()+i+k, s.end()));\n        }\n        return s;\n    }\n};\n\n```
['C']