i have below questions to solve. i tried this several times for one week. but i could not solve it. please can you help me to solve this.
Asked
Active
Viewed 209 times
1 Answers
0
$f(2^m) = 16 f(2^{m-1}) + 3.16^m = 16 (16 f(2^{m-2}) + 3.16^{m-1}) + 3.16^m = 16^2 f(2^{m-2}) + 2.3.16^m $
$= ... = 16^mf(2^0) + m.3.16^m = 16^m.3 + m.3.16^m = 3.16^m (m+1) = \Theta(m16^m) = \Theta((\log_2n)n^4)$
trang1618
- 1,565
-
thank you... you saved me.. !!! – etution lanka Sep 21 '16 at 15:49
-
Not a problem! Glad I could help! – trang1618 Sep 21 '16 at 15:52
