Question 1
How many valid ways are there to arrange $5$ pairs of parentheses ( and ) so that they are properly balanced (for $n=2$, there are $2$: ()() and (()))?
Xem đáp án và lời giải
Đáp án: $42$
Số dãy ngoặc đúng với $n = 5$ là số Catalan $C_{5} = \dfrac{1}{6}\binom{10}{5} = 42$.