Phone Keypad Recursion Problem

I’m unable to understand that how the recursion tree is working for this solution, when we are iterating over the mapped strings to a number, how is the recursive call working after putting the i-th character in the output array ? (code: https://ide.codingblocks.com/s/139502)

The k loop is helping to iterate over corresponding string, once we put the character in output array, it moves to next number and does the same for that number

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.