Empty Arraylist in output

What is wrong with my code i’m getting empty arraylist as my output.

You misinterpreted the question. You are supposed to generate all the possible codes from the given number. After that you need to search for those strings in the given vector of strings.

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.