Question: We have two divide - & - conquer algorithms, let's call them A and B , where A calls B . Their time complexities, TA

We have two divide-&-conquer algorithms, let's call them A and B, where A calls B.
Their time complexities, TA(n)
and TB(n)
, are expressed by the following recurrence relations
TA(n)=4TA(n/2)+ TB(n)+\Theta (n)
TB(n)=6TB(n/3)+\Theta (n2logn)
.
Then
Question 21Answer
a.
TA(n)=\Theta (n2log3n)
b.
TA(n)=\Theta (n2log2n)
c.
TA(n)=\Theta (n2logn)
d.
TB(n)=\Theta (n2log2n)

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!