i am trying to solve to balanced parenthesis like problem but getting error against hidden case while someone else used a similar approach as of me and got AC
problem link:
AC sol. :
https://www.codechef.com/viewsolution/27945914
My solution:
CodeChef: Practical coding for everyone