I’m not able to understand the question ,please help with the given test case
Problem not understood
Hi,In this question you have to take input of a numeric string,then let you input number say 34(as in the sample test case) ,then you have to check that the strings created by the numeric string is the substring of which strings in the given vector of strings str(given in the question).for eg when you enter 34 the strings are, dg,dh,di,eg,eh,ei,fg,fh,fi (acc to the phone keypad) then check whether dg is the substring of any of the string in the given strings,if yes then print that string else dont print.repeat the same process for all the strings formed by 34.dh is present in vidhi so vidhi got printed,di is present in divyam so divyam got printed and eh is present in sneha so sneha is printed.
Thanks a lot, it is solved now😃
Hi @ajain4871
I am marking your doubt as resolved for now. Re-open it if required.
Please mark your doubts as resolved in your course’s “Ask Doubt” section, when your doubt is resolved.
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.