Question is wrong or incomplete

for the custom test case:
7
1011119
the answer should be 3 for max possible cb numbers but the code in editorial gives 2

hello @shresthdewan

why u think it should be 3?

since we have to find max possible CB numbers, and for this it should be 101, 11, and 19

question is correct.
the approach given in editorial fails for this case.

try to solve it using recusion

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.