Question 1
How many valid ways are there to arrange $4$ 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: $14$
Số dãy ngoặc đúng với $n = 4$ là số Catalan $C_{4} = \dfrac{1}{5}\binom{8}{4} = 14$.