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.
There was an error while loading. Please reload this page.
Some results have been hidden because they may be inaccessible to you
Show inaccessible results