Embercode
✕
Divide and ConquerQuick quiz

Master theorem in Python

7 questions. Covers Master theorem in Python.

Questions 1 to 5 of 7

  1. 1. What is the running time of T(n) = 4 * T(n / 2) + n?
  2. 2. What is the running time of T(n) = T(n / 2) + 1, the recurrence for recursive binary search?
  3. 3. What is the running time of T(n) = 2 * T(n / 2) + n^2?
  4. 4. What is the running time of T(n) = 4 * T(n / 2) + n^2?
  5. 5. T(n) = 2 * T(n / 2) + n. Which case of the master theorem applies, and why?

5 question(s) left on this page.