AllRounder.ai
Chapters in this course

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.

Enrol free

23.2.1. Counting Valid Paths

  • This section

    Practice test

    10 questions on this section. Wrong answers show you what to read again.

    Sign up to take it
  • Whole chapter

    Revision test

    Mixed questions from across the chapter. Your answers get marked.

    Sign up to take it
  • Quick

    Flashcard drill

    2 cards from this lesson. Good the night before a test.

Try these first

  1. 1.

    What is a full binary tree?

    Hint

    Think about how many children each node should have.

  2. 2.

    How do you calculate the number of diagonals in a triangle?

    Hint

    Consider what diagonal connects non-adjacent vertices.

  3. 3.

    What characterizes a full binary tree?

    • Each node has either one or two children.
    • Each node has two or no children.
    • Nodes can have three children.
    Hint

    Consider what makes a tree 'full'.

  4. 4.

    A valid path in a grid can involve which moves?

    • True
    • False
    Hint

    Think about the movement constraints.

  5. 5.

    How many distinct full binary trees can you create with 5 leaves? Hint: Relate to Catalan numbers.

    Hint

    Remember to look up the Catalan number for n = 4.

  6. 6.

    If there are 10 sides in a convex polygon, how many diagonals exist?

    Hint

    Calculate each step carefully and remember the formula!

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 free

Quiz

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 free

Challenge 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