Generate Subsequences - Testcases Are Failing

My output is getting printed in the wrong order. Can you suggest the relevant changes that I can make so that the output order can be reversed, i.e the correct order.

hello @Anaghajain
call statement in line 16 , before line 14.
to get the required order.
image

okay. thank you. it worked! :+1: