Skip to content

Commit e6af379

Browse files
authored
Create 3227. Vowels Game in a String
1 parent 01608e1 commit e6af379

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

3227. Vowels Game in a String

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
class Solution {
2+
public:
3+
bool doesAliceWin(string s) {
4+
for(char x:s){
5+
if(x=='a' || x=='e' || x=='i' || x=='o' || x=='u'){
6+
return true;
7+
}
8+
}
9+
return false;
10+
}
11+
};

0 commit comments

Comments
 (0)