176 views

1 Answer

0 0 votes

$T(n)=10T(n/3)+17n^{1.2}$

Using the Master Theorem:

$a=10$, $b=3$, and $f(n)=17n^{1.2}$

Calculate:

$n^{\log_b a}=n^{\log_3 10}$

Since $\log_3 10\approx 2.096$, $n^{1.2}$ grows slower than $n^{\log_3 10}$.

Therefore, this is Master Theorem Case $1$.

$T(n)=\Theta(n^{\log_3 10})$

Answer: B. $O(n^{\log_3 10})$

Answer:
Position:
Show:

Related questions

2 2 votes
1 1 answer
277
277 views
3 3 votes
1 1 answer
194
194 views
2 2 votes
1 1 answer
182
182 views
1 1 vote
1 1 answer
212
212 views
GO Classes asked Aug 31
212 views
Let $G$ be a directed graph with nonnegative edge weights, and let $s$ and $t$ be vertices of $G$.Consider the statement:Any shortest path from $s$ to $t$ in $G$ is also ...