One test case is failing in my code, (https://ide.codingblocks.com/s/145236)
Mapped Strings Challenge
Your code will fail some cases where all the digits in input string are same.
For Example:
Input: 888
Correct Output:
HHH
Your Output:
HHH
H
H
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.