Enrol to start learning
Reading is open to everyone. Enrolling is free, and it is what unlocks the audio lessons, practice tests and progress tracking.
21.1.1. Recap of Previous Lecture
This section
Practice test
10 questions on this section. Wrong answers show you what to read again.
Sign up to take itWhole chapter
Revision test
Mixed questions from across the chapter. Your answers get marked.
Sign up to take itQuick
Flashcard drill
2 cards from this lesson. Good the night before a test.
Try these first
- 1.
What is the formula for Catalan numbers?
Hint
Think about the number of valid structures divided by n+1.
- 2.
How many valid parenthesis combinations are there for n = 2?
Hint
Try to visualize the arrangements.
- 3.
What are Catalan numbers commonly used to count?
- Valid sequences of parentheses
- Prime numbers
- Fibonacci sequences
Hint
Think about the structures you’ve learned.
- 4.
True or False: The number of valid sequences of 1s and -1s equals the number of valid parentheses strings.
- True
- False
Hint
Refer to the connections discussed.
- 5.
Prove that the number of valid parenthesis sequences increases exponentially as n rises.
Hint
Reflect on how factorial numbers grow.
- 6.
If you add a ‘bad’ sequence to a valid sequence, what type of sequence is produced?
Hint
Check how the sums behave post addition.
Exercises
Total Questions
2
Estimated Time
4 min
Passing Score
70%
Instructions
- Read each question carefully
- You can use hints if you need help
- Complete all questions before submitting
4 more questions available
Enrol freeQuiz
Total Questions
2
Estimated Time
4 min
Passing Score
70%
Instructions
- Read each question carefully
- You can use hints if you need help
- Complete all questions before submitting
Get your answers marked and your progress tracked
Enrol freeChallenge Problems
Total Questions
2
Estimated Time
4 min
Passing Score
70%
Instructions
- Read each question carefully
- You can use hints if you need help
- Complete all questions before submitting