Balanced Parenthesis doubt

one testcase is not passing
code link : https://ide.codingblocks.com/s/94194

Hi @himanshukumarclassic37.hk,your code is giving wrong answer for ({[}])()[] .

the answer should be yes and my code is giving the desired output i.e. yes.

code link : https://ide.codingblocks.com/s/94249
this is giving correct output for ur input

answer should be no,when you find } the last element on the stack is [ but there should be {.

thank u i got my mistake