Pregunta de entrevista de Meta

Check to see if the brackets are balanced