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

2.2.4. Column by Column Computation

  • This section

    Practice test

    11 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

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

Try these first

  1. 1.

    How many paths exist from (0,0) to (1,1) in a grid with no obstacles?

    Hint

    Consider the two possible movements: right then up, or up then right.

  2. 2.

    What is the number of paths from (0,0) to (0,0)?

    Hint

    Think about staying in the same spot.

  3. 3.

    How many ways can you reach (0,0) from (0,0)?

    • 1
    • 0
    • More than 1
    Hint

    Think about the simplest path.

  4. 4.

    Dynamic programming guarantees fewer calls than memoization.

    • True
    • False
    Hint

    Reflect on the efficiencies of direct vs recursive strategies.

  5. 5.

    How would you compute paths in a grid of size 100x100 with random holes placed throughout?

    Hint

    Think about the memory storage needed for computations.

  6. 6.

    Propose a new method to slim down the computations further in this grid-path scenario.

    Hint

    Integrate heuristic searches that rely on grid layout.

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

1 more question available

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