Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Hi given this recursion tree problem- I have a solution to this problem but I don't understand it after the k = log3n How does
Hi given this recursion tree problem-
I have a solution to this problem but I don't understand it after the k = log3n How does the k=log3n turn into 3^(K+1) - 1 / 2? Is that some sort of equation? And how does that prove Theta(N)?
Thanks!
S(n) = 3S() + b. (a) Use a recursion tree to show that S(n) = (g(n)), for some function g(n). - - - SCM) - - - - - - - b .. (ny) (M) s(my) - --.--.--.-- 3b sowa) swe) semba) .... simo)..semeg)........... 96 Sulzie) .--.3k S(M/K) It will stop, when h1 = [k= logga Total cost = b + ab + 3 b +33b+...+34b =b(1+3+3 +33 + + 3) +61.63K041-1) 3-1 aparan yo = (pasu tag -2) b - zasyonun 20, (scnse Total cost = (304)51 Hearly. Som)Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started