Embercode
✕
Divide and ConquerQuick quiz

Master theorem

7 questions. Covers Master theorem.

Questions 1 to 5 of 7

  1. 1. What is the running time of T(n) = 2 T(n/2) + n?
  2. 2. What is the running time of T(n) = 2 T(n/2) + n^2?
  3. 3. What is the running time of T(n) = 4 T(n/2) + n^2?
  4. 4. What is the running time of T(n) = 2 T(n/4) + sqrt(n)?
  5. 5. For T(n) = T(n - 1) + n, why can the master theorem not give the answer directly?

5 question(s) left on this page.