From e119dc08a6fb073d05ff32d5534709fe7c8c5df3 Mon Sep 17 00:00:00 2001 From: Deven <63876261+devenperez@users.noreply.github.com> Date: Thu, 11 Sep 2025 22:29:46 -0400 Subject: [PATCH] Create README - LeetHub --- 3227-vowels-game-in-a-string/README.md | 52 ++++++++++++++++++++++++++ 1 file changed, 52 insertions(+) create mode 100644 3227-vowels-game-in-a-string/README.md diff --git a/3227-vowels-game-in-a-string/README.md b/3227-vowels-game-in-a-string/README.md new file mode 100644 index 0000000..b822f4c --- /dev/null +++ b/3227-vowels-game-in-a-string/README.md @@ -0,0 +1,52 @@ +

3227. Vowels Game in a String

Medium


Alice and Bob are playing a game on a string.

+ +

You are given a string s, Alice and Bob will take turns playing the following game where Alice starts first:

+ + + +

The first player who cannot make a move on their turn loses the game. We assume that both Alice and Bob play optimally.

+ +

Return true if Alice wins the game, and false otherwise.

+ +

The English vowels are: a, e, i, o, and u.

+ +

 

+

Example 1:

+ +
+

Input: s = "leetcoder"

+ +

Output: true

+ +

Explanation:
+Alice can win the game as follows:

+ + +
+ +

Example 2:

+ +
+

Input: s = "bbcd"

+ +

Output: false

+ +

Explanation:
+There is no valid play for Alice in her first turn, so Alice loses the game.

+
+ +

 

+

Constraints:

+ +