Balance parethesis

in this question i have successfully generated the parenthesis , but we have to sort them in a oredr opposite to the printed order so what i did was try the store the printed value in another array and then print that array in reverse order but i’m unsuccessful in doing so . can you tell me how to go about it

Hey Nikhil!
You have asked the doubt against the wrong question I guess. Please raise the doubt against correct question or mention the question name here, I’ll see what’s the problem.

I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.

On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.