2027. Minimum Moves to Convert String | C#| O(N) | sliding window
\npublic class Solution {\n    public int MinimumMoves(string s) {\n\t\tif(s==null || s.Length ==0)\n            return 0;\n        int windowStart =0;  \n     
```\npublic class Solution {\n    public int MinimumMoves(string s) {\n\t\tif(s==null || s.Length ==0)\n            return 0;\n        int windowStart =0;  \n        int result =0;\n        while(windowStart<s.Length){\n          if(s[windowStart]== \'O\')         \n              windowStart++;\n          else{\n              result++;\n              windowStart+=3;\n          }\n        }\n        return result;\n    }\n}\n```
['Sliding Window']