Smart Keypad - Advanced

If the input is 34 and the strings generated by it include “vi”, “di” & “sn” , then “vidhi”, "divyam & “sneha” should be printed. Is this the questions says???

Hi @prashantverma.vn
consider nokia keypad
abc 2
def 3
ghi 4
jkl 5
mno 6
pqrs 7
tuv 8
wxyz 9

input : 34
possible strings using (d,e,f) + (g,h,i)
dg, dh. di, eg, eh, ei, fg, fh, fi
vidhi contains hi, output vidhi
divyam contains di, output divyam
sneha contains eh, output sneha

Hope it helps
Mark resolved if satisfied :slight_smile:

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.