Glassdoor Interview Question

Generate all possible parentheses for a given n