1

I met the problem

Show that the solution to $T(n) = 2T(\lfloor n/2\rfloor + 17) + n$ is $O(n \log n)$

while reading Introduction to Algorithm. It's a question about the substitution method for solving recurrences.

Should I just assume $T(n/2 + 17) \leq O((n/2 + 17) \log(n/2 + 17))$ and then prove $T(n) \leq O(n \log n)$? Is this inductive assumption enough to solve it?

Alejandro Sazo
  • 674
  • 1
  • 7
  • 23
Aobo Yang
  • 19
  • 2

0 Answers0