that consist of `n` pairs of parentheses. 1. Start with empty string and open = close = 0. 2. Try adding '(' and ') when valid. 3. Collect valid strings when length reaches 2n.