Balanced Parenthesis wrong answer at 4th test

in this question I am able to pass only first 3 test and not the 4th one what am I missing? here’s my solution for the same.

@S18IPC-OL0002 Actually bro the hidden thing in the question is that we have to check for every opening and closing bracket that means (,[,{ all these 3 brackets should be checked and that is not mentioned in the question. It took me some time to figure it out myself.