Pergunta de entrevista da empresa Tripadvisor

Given a string, determine if brackets are matched.