Golang 100% fastest 0ms 2 lines of code
\n\nfunc minimumMoves(s string) (res int) {\n    for i:=0 ; i < len(s) ; i++ {\n        if s[i] == \'X\' { i += 2; res++ }\n    }\n    return res\n\n}\n\n
\n```\nfunc minimumMoves(s string) (res int) {\n    for i:=0 ; i < len(s) ; i++ {\n        if s[i] == \'X\' { i += 2; res++ }\n    }\n    return res\n\n}\n\n```
['Go']