was so elated to see that you've put out a video for today's contest :) by the way, will you be doing the second problem (vowels game in a string) for this contest as well? i had doubts in it and the way you tackle every little edge case and condition is amazing
@monilcharola68736 ай бұрын
Bro it;s greedy. See, Alice will go first. Consider that in a game each player, plays for itself and in the optimal case they will try to make their opponents loose. Case 1 : There are no vowels. (:( Alice cannot take anything thus Alice is defeated) Case 2 : There are either odd or even number of vowels -> If odd (Since Alice wants to defeat Bob, she takes the substring containing all the vowels thus leaving 0 vowels for BOB ) Alice wins -> If even (ALICE want's to win by defeating BOB, here also she takes substring containing odd number of vowels, leaving only 1 vowel for BOB) thus Bob won't have even vowels to pick, here also Alice wins!! CODE : I vowel count == 0, BOB wins Else ALICE winds PS : Alice is a bitch!!!!!!!!😂
@uncutengineer27976 ай бұрын
your explaination is really really good aryan bro
@abhinavnarula73006 ай бұрын
At 1:47 won't we require 3 ops instead of 2? I am confused on that part. Can someone pls clarify
@monilcharola68736 ай бұрын
JUST BRILLIANT !!!!!!!!!!!!!!!!!!!!!!
@PhenomenalInitiations2 ай бұрын
wowwww
@sanchitdeepsingh96636 ай бұрын
thanks
@23cash866 ай бұрын
I had figured everything till 19:00 , I was blank aftermath
@TechieClasher6 ай бұрын
ha ha, was waiting for this itself
@asthajain25116 ай бұрын
aryan bhai op🫡
@nooob_coder6 ай бұрын
wow i can think like this ?
@ITACH16886 ай бұрын
kya hi chumma explanation hai 😳
@sangdilbiswal306 ай бұрын
I almost figured it out but time was done😅
@hrudaytej21336 ай бұрын
how tf am i supposed to come up with this in contest?
@nikhilsoni24036 ай бұрын
Bhai saturday ke contest ka 4th problem ka solution upload karo na 😂😂
@prajitbanerjee82266 ай бұрын
LOL bro
@satwiktatikonda7646 ай бұрын
why is it that difficult?
@monilcharola68736 ай бұрын
@@satwiktatikonda764 Bro only 69 people were able to solve it