54. Among the following items, when n ≤ 2, T(n) is a constant. When using the master
theory to solve the following items, which item is WRONG?
(A) T(n) = 2T(n / 2) + n
4
= Θ(n
4
)
(B) T(n) = 16T(n / 4) + n
2
= Θ(n
2
)
(C) T(n) = T(7n / 10) + n = Θ(n)
(D) T(n) = 7T(n / 3) + n
2
= Θ(n
2
)
For each of the following recurrences, give an expression for the runtime T (n) if the recurrence can be solved with the Master Theorem. Otherwise, indicate that the Master Theorem does not apply.
1. T (n) = 3T (n/2) + n 2 2. T (n) = 4T (n/2) + n 2 3. T (n) = T (n/2) + 2n 4. T (n) = 2nT (n/2) + n n 5. T (n) = 16T (n/4) + n 6. T (n) = 2T (n/2) + n log n