Question: Question 4 12.5 pts Select the best answer. Consider the recurrence relation: T(n) 2.T(n/2)+ 4.n. John guesses that T(n) -4.n.log(n). Substituting T(n/2) by the guess
Question 4 12.5 pts Select the best answer. Consider the recurrence relation: T(n) 2.T(n/2)+ 4.n. John guesses that T(n) -4.n.log(n). Substituting T(n/2) by the guess in the recurrence relation will lead to T(n) = Unless specified otherwise, log(n) is log base 2. @ 2.n.log n-4.n + 2.n 2nlog n . 2.n + 2.n None of these answers 2.n.log n +2.n D Question 5 Select the best answer. Consider the recurrence relation: T(n) 2.T(n/2)+ 200n. A good guess Unless specified otherwise, log(n) is log base 2 could be 100.n.log n O 100log n O n.log n O 200.n.log n None of these answers
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
