What is wrong in this code

https://ide.codingblocks.com/s/57116
is the link to my solution of problem recursion dictionary order smaller please help me out whats wrong only 2 out of 4 test cases are passing

Hey Kushagra, please try not to post your same doubt multiple times. I have resolved your doubt in this thread.

I am sorry for that ill try to avoid that

Hey, I am marking your doubt as Resolved for now. Re-open it if required. And please mark your doubts as resolved in your course’s “Ask Doubt” section, when your doubt is resolved.