Intuitive
\nclass Solution {\npublic:\n    int minimumMoves(string s) {\n        int len = s.size();\n        int res = 0;\n        \n        for (int i = 0; i < len; i++
```\nclass Solution {\npublic:\n    int minimumMoves(string s) {\n        int len = s.size();\n        int res = 0;\n        \n        for (int i = 0; i < len; i++) {\n            if (s[i] == \'X\') {\n                res++;\n                i += 2;\n            }\n        }\n        \n        return res;\n        \n    }\n};\n```
['C++']