Please can anyone provide a test case for which my soln fails ?

https://www.codechef.com/viewsolution/16328171

1
aaaab

Have fun debugging

1 Like

@pandey_96

Test case :

1

cuu

Expected Output :

YES

Your Output:

NO

1 Like

please help me fast anyone

@vijju123

My answer is coming YES for it ,it’s correct i think

Ohk i think i misread the question
Consider this:
1
abaaa

Your output No
Should be yes as can remove b
(I hope i understood this correctly now)