Recursion -Dictionary Order(SMALLER)

https://hack.codingblocks.com/contests/c/537/362

https://ide.codingblocks.com/s/60601

Only third testcase is passing . The remaining three are failing.

Hi Tarun, the order of substrings in the output of your code is not correct. I’ve modified the code, go through it and reply to this thread in case of any doubt.
You can check it here:
https://ide.codingblocks.com/s/60752

1 Like

The code that you have corrected is still not giving the output in sorted order.

@abhigyaverma27
The problem statement has been changed since then. Do not refer to these old codes. At the time I asked this doubt , the problem statement had a different output and it wasn’t sorted then. Refer to the new problem statement and try writing your code according to it. Ask doubt from TAs if help is needed.