We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 01608e1 + e6af379 commit 3b17c80Copy full SHA for 3b17c80
3227. Vowels Game in a String
@@ -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