Pregunta de entrevista de Codesmith

They asked me the balancing brackets question