edited by
3,596 views
14 votes
14 votes

Which of the following functions, given by there recurrence, grows the fastest asymptotically?

  1. $T(n) = 4T\left ( \frac{n}{2} \right ) + 10n$
  2. $T(n) = 8T\left ( \frac{n}{3} \right ) + 24n^{2}$
  3. $T(n) = 16T\left ( \frac{n}{4} \right ) + 10n^{2}$
  4. $T(n) = 25T\left ( \frac{n}{5} \right ) + 20\left ( n \log n \right )^{1.99}$
  5. They all are asymptotically the same
edited by

1 Answer

Best answer
16 votes
16 votes
By applying master theorem,

(a) T(n) = $\Theta$($n^2$)

(b) T(n) = $\Theta$($n^2$)

(c) T(n) = $\Theta$($n^2$*log n)

(d) T(n) = $\Theta$($n^2$)

C is growing fastest.
selected by
Answer:

Related questions

13 votes
13 votes
1 answer
4