Balanced Parenthesis(1 testcase wrong)
Hello Saksham ,
Your logic for the problem was correct u just missed to handle { } and [ ] brackets .
I have added those cases in your code.
here is your working code link - https://ide.codingblocks.com/s/171467
regards
Aman yadav
1 Like