2027-minimum-moves-to-convert-string

DevGod
Vtuber
/** * @param {string} s * @return {number} */var minimumMoves = function(s) { let arr = s.split(/O+/).filter(Boolean); console.log(arr); return arr.length;};
/** * @param {string} s * @return {number} */var minimumMoves = function(s) { let arr = s.split(/O+/).filter(Boolean); console.log(arr); return arr.length;};