Dynamic Programming21 sections · 916 units
Open in CourseQuiz: GCD
Knowledge check
Check Your Understanding
What is the base case for the recursive GCD algorithm?
- A.When a is divisible by b
- B.When a equals 1
- C.When a equals b
- D.When b equals 0
Knowledge check
What is the base case for the recursive GCD algorithm?