3 test cases failing
Test cases failing
U need to remove consecutive duplicates, not all the duplicates.
I’ve removed consecutive duplicates only.
eg if input is aaaba
the output is aba
I have checked ur code on testcases, it is showing correct output. I have reported the issue to the team.
Pls wait sometime.
String class object do not terminate with ‘\0’ character. Instead of it use character array.
oh okay thanks, it worked.