EASY TO UNDERSTAND || SIMPLE JAVA CODE
\nclass Solution {\n    public int minimumMoves(String s) {\n        int count = 0;\n        for (int i = 0; i < s.length(); i++)\n            if (s.charAt(i) =
```\nclass Solution {\n    public int minimumMoves(String s) {\n        int count = 0;\n        for (int i = 0; i < s.length(); i++)\n            if (s.charAt(i) == \'X\') {\n                count++;\n                i += 2;\n            }\n        return count;\n    }\n}\n```
[]