I am not able to clear last test case.
link for the code - https://ide.codingblocks.com/s/360394
Not able to clear last test case
Hey @great I have checked your code for this input Aaabbbaabbccddeeffgg
In this number of time a is less then to number of time b, have you considered this.
Take this code as reference
I am getting the same output as yours (enclosed code) in this case, which you have mentioned (Aaabbbaabbccddeeffgg)
So my codes gets accepted or not?
Your code gets accepted, but my query is what case am i missing
resolved (missing the case when string length==1)