Bloomberg Interview Question

Check for balanced parentheses in any programming language