Google interview question

Generate all valid bracket strings of length n.