c++ 100% faster easiest solution || no change in string
int minimumMoves(string s) {\n              int ans=0;\n        for(int i=0; i<s.size();i=i)\n        {\n            if(s[i] == \'X\'){\n                i= i+3;
int minimumMoves(string s) {\n              int ans=0;\n        for(int i=0; i<s.size();i=i)\n        {\n            if(s[i] == \'X\'){\n                i= i+3;\n                ans++;\n            }\n            else{\n                i++;\n            }\n        }\n        return ans;\n    }
['String', 'Sliding Window']