RodneyShag/HackerRank_solutions

why this input is false ?

manjitsaha opened this issue · 1 comments

why this input is not balanced . is the code working incorrectly ?
if code is working fine then please explain me why this input gives false.

({)} , {[(})] , [(]{)}

That's not valid since the first 3 characters are ({). You cannot have "{" followed by a ")"