https://ide.geeksforgeeks.org/VbA4vQSRTb
i have tried differently for uppercase and lowercase letters
in lexiographical order but not getting the correct output
https://ide.geeksforgeeks.org/VbA4vQSRTb
i have tried differently for uppercase and lowercase letters
in lexiographical order but not getting the correct output
@arjun_121 read problem statement and output format carefully, you are not doing what problem wanted.
you have to only compress consecutive same characters.
I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.
On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.