WA in MINOPS

Yes that’s correct…

But what about the characters in between. They also need to be taken into account right. I mean you are just skipping their existence only… your program should consider the case of picking it in 1 go or separately right

I think I have accounted for that too, can you please send me one testcase where you feel my code would go wrong? That would be very helpful for me to understand the flaw.

sure let me think of one.

cool, thanks

You know what I just copied your code and ran it on my pc… it is giving rigtht answers for all the test cases that I am trying

How about you go through your code once more. Maybe you have made a very minor error. TIll then I am trying more test cases

That would be very helpful, thank you so much. :slight_smile: I’ll go through it once more.

Guys please help me with my solution too. Its giving coreect answer for all testcases I made. I cant figure out why its giving WA.

@rumblefool I’ll really appreciate if you could help me out with this. Thanks in advanced!