Smart keypad -1 (recursion)

getting one test case failed why ?

Check the mappings given in the question for the keypads.It is different from what you have taken.
Check your outputs for the sample input. It must match exactly with the sample output.

getting one test case pass but one test case failed , mapping is correct


Check now