[Algorithm] Check for balanced parentheses using stack

NoSuchKey