Pergunta de entrevista da empresa Karius

Balanced bracket problem with {}, [] and ().