• recategorized by
3,147 views

1 Answer

2 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:
Position:
Show:

Related questions

0 0 votes
3 3 answers
2.7k
2.7k views
Misbah Ghaya asked Jul 12, 2016
2,706 views
Suppose that the splits at every level of quicksort are in the proportion $(1 – \alpha)$ to $\alpha$, where $0<\alpha\leq\frac{1}{2}$ is a constant. The minimum depth of ...
1 1 vote
2 2 answers
9.0k
9.0k views
Misbah Ghaya asked Jul 11, 2016
9,003 views
Consider the fractional knapsack instance$n = 4, (p_{1} , p_{2} , p_{3} , p_{4} ) = (10, 10, 12, 18), (w_{1} , w_{2} , w_{3} , w_{4} ) = (2, 4, 6, 9)$ and $M = 15$.The ma...
1 1 vote
2 2 answers
4.3k
4.3k views
Misbah Ghaya asked Jul 9, 2016
4,284 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...
0 0 votes
2 answers 2 answers
3.8k
3.8k views
Misbah Ghaya asked Jul 9, 2016
3,841 views
Consider $f(N) = g(N) + h(N)$ Where function $g$ is a measure of the cost of getting from the start node to the current node. $N$ and $h$ is an estimate of the additional...