Smart keypad advance


sir/mam,
test case failed why?

please wait i am trying to debug the question

line 14 do not again use the variable i in the loop where u are searching for the present of substring
since u are passing i as a parametere the variable gets shadowed

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.