Karius interview question

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