Phone keypad problem?

phone keypad problem ? is time complexity the same without recursion?

hi @mehulbhandari358 can you share your approach without recursion?

i have not written the code. but it is simply to iterate over the two strings

@mehulbhandari358 you have to generate all the possible combinations, I dont see how that can be done using simple for loops. It’d be great if you can share the pseudo-code/ algo/ code anything at all

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.