Search the courses, subjects, tracks, games and features, or jump straight to a page.
2 cards from this section. Quick, good the night before a test.
What is the value of C(1)?
Think about one opening and one closing parenthesis.
List three valid arrangements for 2 pairs of parentheses.
Remember that pairs must match.
What does C(3) equal?
Count valid arrangements.
True or False: Catalan numbers are always positive.
Think about the function definition.
Create a function that counts valid parenthesis strings of length 2n.
Think of how C(n) builds from C(k).
Analyze a real-world scenario using Catalan numbers.
Consider how binary trees mirror the parenthesis structure.
4 more questions in this section. Enroll free to practise them all.
Enroll free