Smart keypad advanced

Im not able to understand the question as well as explanation

@rastogi.g1998
as u did in smart-keypad 1 question
u create all the possible keypad recursion and then u store them in a vector ( lets name this : vec)

then what u do is iterate over the


array and see which all string have substring included in vec

for eg:
34 will form combination


so now which all string from searchIn contain these substring

1 Like

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.