+ 2
Convert the given string
Remove the repeated neighbouring alphabets into single alphabet example input=aaaaabbbbhhhhddddidhjjjj output=abhdidhj
2 Answers
+ 1
https://code.sololearn.com/cXwsrJPAyEeq/?ref=app
Remove the repeated neighbouring alphabets into single alphabet example input=aaaaabbbbhhhhddddidhjjjj output=abhdidhj