Balanced paranthesis stack

one test case showing wrong outpu

Hello @sam15jain,

You have not considered all types of parenthesis stated in the problem statement, in the solution.

INPUT:
A string of ‘(’ , ‘)’ , ‘{’ , ‘}’ and ‘[’ , ‘]’ .

Hope, this would help.
Give a like, if you are satisfied.