Pregunta de entrevista de WeWork

Check for balanced parentheses in an expression