Brackets all over

sir i really want to know the difficulty level of this question easy , medium or hard…because i find it so difficult …i really cant even think about the solution …

and sir please tell is this problem can be solved using recursion or not…?

this is a kind of medium difficulty level question.
you can read this conversation to get some idea about how to solve it:

you still need to write complete code on yourself.
thanks

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.