sir/mam i am not able to solve Codes of string problem .
I am not able to think about approach .please help me by suggesting easy and best approach.
Want to know easy and best approach
Hey @Ankit_kumar_3003
At every position, you have two options. Either to continue with two character or one character
For eg.
if you have 11. You can either treat is as one one ie AA or as eleven ie K.
So for each location check for these two possibilities. Note 36 can’t be treated as thirty six. Also you cant treat 09 as 9 .So keep a check for that.
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.