Recursion-dictionary (smaller)

Sir, I am getting the reverse order of the output i tried various methods to get the desired output but i didn’t get it can you please help me out sir

https://ide.codingblocks.com/s/646583 this is my code

hi @swaroop_stellar
is ur doubt resolved as I can see that u have successfully submitted the code and gained full points…

yes i came up with a different method and it worked well thank you :blush:

1 Like

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.