recategorized by
2,551 views

1 Answer

2 votes
2 votes

T(n) = 3T(floor (n/4))+ n  ~ 3T(n/4)+n

Apply Masters theorem

n ^ (log 4 3)  < n

Hence T(n) = Θ(n)

If T(n) = Θ(n) then T(n) = O(n)

If T(n) = Θ(n) then T(n) = O(n 2 )

answer can be A and C

Correct me if i am wrong

Answer:

Related questions

0 votes
0 votes
2 answers
3
makhdoom ghaya asked Jul 9, 2016
3,182 views
________ is used in game trees to reduce the number of branches of the search tree to be traversed without affecting the solution.Best first searchGoal stack planning Alp...