Recursion dictionay large


test case are falling can u tell me the reson and way to correct it

Hey @anuragavm123
You have to print strings in dictionary order
So u have 2 options ,sort the input string which I did here by adding 2 lines to ur code:https://ide.codingblocks.com/s/349769 :slight_smile:
OR
by collecting all string which needs to be printed and sort it in main and then print them