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.
List three valid strings of parentheses for n=2.
Think about how parentheses can be paired.
How many opening and closing parentheses does a valid string of length 4 have?
Consider the balance required.
What defines a valid string of parentheses?
Check if any opening is left unmatched.
How many valid configurations exist for n=3?
Consider how parentheses can pair properly.
Calculate the total number of valid parentheses arrangements for n=5. Explain your steps.
Use the Catalan number formula appropriately.
Derive the reflection mapping for a bad sequence of n=4. Explore its implications.
Start at the first negative partial sum and trace the sequence.
5 more questions in this section. Enroll free to practise them all.
Enroll free