Answered step by step
Verified Expert Solution
Link Copied!

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-

image text in transcribed

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!

image text in transcribed

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

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Oracle Autonomous Database In Enterprise Architecture

Authors: Bal Mukund Sharma, Krishnakumar KM, Rashmi Panda

1st Edition

1801072248, 978-1801072243

More Books

Students also viewed these Databases questions