New course! Every coder should learn Generative AI!
Try a free lesson+ 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