AKUNA CAPITAL Interview Question

Q: brackets eliminations. ex {{}} -> true; {)}( -> false; {}[] -> true