C++ Simple and Short Solution, 0ms Faster than 100%
\nclass Solution {\npublic:\n    int minimumMoves(string s) {\n        int count = 0, i = 0;\n        \n        while (i < s.size()) {\n            while (s[i] 
```\nclass Solution {\npublic:\n    int minimumMoves(string s) {\n        int count = 0, i = 0;\n        \n        while (i < s.size()) {\n            while (s[i] == \'O\') i++;\n            \n            if (s[i] == \'X\') {\n                count++;\n                i += 3;\n            }\n        }\n        \n        return count;\n    }\n};\n```\n**Like it? please upvote!**
['C']