https://ide.codingblocks.com/s/341855 i recursively call the character array and once i find that two elements consicutively are same i increment the array by 2.Such that the next element which is same is skipped in the recursive call
Please help which test cases are failing
for the input
AAAABC
output should be
ABC
not
AABC
this is because in question it is mention that you have to
removes all consecutive duplicates.