Balanced Parenthesis

What’s wrong with my code?
link:
2 test case did not pass

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.