Generating parantheses


Pls check the code

@Tushar-Goel-1587999611286693
hello sujal,
pls explain ur approach.

@Tushar-Goel-1587999611286693
hello sujal,
ur code was correct, just u were not printing them in order .
i have rectified ur error pls check

wow, thanks a lot, there are a few new things you have added from which I can learn