Leetcode 3227. Vowels Game in a String
Determine whether Alice (first player) has a forced win in a two-player partisan game where they alternately delete any non-empty substring of s with an odd number of vowels (Alice) or an even number of vowels (Bob); the challenge is to analyze optimal play on vowel-parity substrings and decide the winner for strings up to length 1e5.
Question Timeline
See when this question was last asked and where, including any notes left by other candidates.
0
Hello Interview Premium
Your account is free and you can post anonymously if you choose.