Balanced Parentheses Problem

In the hint video, the answer provided will print only one case
ex for n=2 it prints ()()…
Please explain it once.