Pergunta de entrevista da empresa Crossover for Work

Just balanced brackets.