Smart Keypad-Advanced

Can you explain the example in this correctly?

Hello @gupta.kajal15

// Coding should not be printed as it is Not in the searchIn array.
// Read further for clarity

In this question you need to print those strings (from searchIn array) that contain the strings generated by the alphabetical combination of number given as the input

Ex:- 26
2 => a,b,c
6 => m,n,o
So print all those strings that contain these combinations
am, an, ao, bm, bn, bo, cm, cn, co

divyam is printed as it contains “am” in it.
Also coding should Not be printed as it is Not in the searchIn array

Also you only need to print strings from these only
string searchIn [] = {
“prateek”, “sneha”, “deepak”, “arnav”, “shikha”, “palak”,
“utkarsh”, “divyam”, “vidhi”, “sparsh”, “akku”
};

Let me know if you still need any help.

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.