0 votes
in Divide & Conquer by AlgoMeister (1.6k points)

6 Answers

+1 vote
 
Best answer
Applying Master Theorem, A = 3, B = 4, K = 0.75.

Since log_4(3) = 0.792 which is greater than k, case 1 applies.

(Case one: if log_a(b) > k, then the complexity is theta(n^log_a(b)))

Therefore: theta(n^log_4(3))
by AlgoStar (396 points)
selected by
+1 vote


a=3, b=4, c=0.75

 logba=log43 , log4(3)=0.792 > 0.75

using master theorem in case 1   If f(n) = O(nc) where c < logba , then T(n) = theta(n^logba) 

so T(n)=theta(n^log4(3))

by Active (296 points)
edited by
+1 vote

We can use the Master Theorem to solve this problem.

In this question: a = 3, b = 4, c = 0.75.

So, logba = log43 = log104 / log103 = 0.792. 

Because: logba > 0.75, we use the first case in Master Theorem.

(If f(n) = O(nc) where c < logba , then T(n) = theta(n^logba) )

Therefore, T(n) = theta(n^log43).

by Active (256 points)
+1 vote

Using the Master Theorem, a = 3, b = 4 and c = 0.75.

Since log_4 (3) = 0.7925 > c = 0.75, 

We will use the first case in Master Theorem: 

T(n) = theta (nlogba)

So, T(n) = theta (n^log43)

by Active (336 points)
+1 vote

a = 3
b = 4
k = .75
p = 0
log_b(a) = ~.79

log_b(a) > k therefore case 1 of master theorem can prove.
theta(n^log_b(a) = theta(n^.79)

by (156 points)
+1 vote

Master theorem: 

Using MT: a = 3, b = 4, f(n) = n^0.75

Comparing n^(log_4(3)) to n^0.75

Thus, case 1: Θ(n^log_4(3))

by (144 points)
The Book: Analysis and Design of Algorithms | Presentations on Slideshare | Lecture Notes, etc
...