Balanced paranthesis


2 test case fail
how to change TA to C++ TA

try and dry run your code for “)(” it should say no.even for “(]” it should give no,your code gives yes