Dynamic Programming21 sections · 916 units
Open in Course

Quiz: GCD

Knowledge check

Check Your Understanding

What is the base case for the recursive GCD algorithm?

  1. A.When a is divisible by b
  2. B.When a equals 1
  3. C.When a equals b
  4. D.When b equals 0
Start the roadmap to answer the quizzes and solve the challenges