Balanced parentheses
How many ways can pairs of parentheses be arranged so that every prefix has at least as many "(" as ")"?
Show hints (2)+
- Valid bracket sequences are counted by the Catalan numbers.
- .
Answer
Reveal answer →Final answer
14
Create a free account to see the full worked solution and track your progress.
Interview format: Market Maker, Systematic & Data-Driven Trading