Why the code not passes all test cases
hello @nitinchoudhary260
there can be other type of paranthesis as well in the input.
handel such case
Yeah thanks for the point
u need to match corresponding pairs. i,e if ch is ) then stack top must be ( only , if it is some other bracket like [ ,{ then u need to retrn false
Yeah Thanks for the help
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.