Recent questions tagged master-theorem

2 2 votes
1 1 answer
277
277 views
3 3 votes
1 1 answer
193
193 views
2 2 votes
1 1 answer
176
176 views
4 4 votes
2 2 answers
519
519 views
Consider the following:For all $n>1$$$\begin{aligned}& T_1(n)=4 T_1(n / 2)+T_2(n) \\\\& T_2(n)=5 T_2(n / 4)+\theta\left(\log _2 n\right)\end{aligned}$$Assume that for all...
3 3 votes
4 4 answers
960
960 views
Consider the following recurrence relation describing the running time of an algorithm: $$T(n) = 2T\left(\frac{n}{2}\right) + \frac{n}{\log n}$$$$(Base\ condition: T(1) =...
0 0 votes
1 1 answer
296
296 views
How to check if f(n) is polynomially greater than g(n)?
1 1 vote
0 0 answers
266
266 views
0 0 votes
1 answers 1 answer
676
676 views
How can we solve this recurrance relation using master's theorem? T(n)=2 * T (n/2) + nlogn
0 0 votes
1 1 answer
848
848 views
$T\left ( n \right )= 8T\left ( \frac{n}{2} \right )+\left ( n\cdot logn \right )^{2.99}$Also can $\mathcal{O}(n^{3})$ be an upper bound to above recurrence relation?
1 1 vote
1 1 answer
1.8k
1.8k views
1 1 vote
2 2 answers
1.5k
1.5k views
how do i apply master theorem to this? T(n)=2T(n/2)−n^3n
3 3 votes
1 1 answer
1.5k
1.5k views
how do i apply master theorem to this? 𝑇(𝑛)=16𝑇(𝑛/4)+5𝑛^3
0 0 votes
1 1 answer
554
554 views
In the recurrence relation$\text{T}(n)=0.5\ast \text{T}(n/2)+1/n$, which case of Master Theorem is suitable?Case $1$Master Theorem not applicable in this situationCase $2...
1 1 vote
1 1 answer
5.0k
5.0k views
I can't figure out how to proceed and which case it's falling under after calculating h(n)
0 0 votes
1 answers 1 answer
10.9k
10.9k views
How do I apply the master theorem in the above recurrence? Please give details about which case and on hiow to solve the asymptotic analysis...
0 0 votes
1 1 answer
642
642 views
which formula to use in master theorm
0 0 votes
1 1 answer
1.3k
1.3k views
The running time of an algorithm $T(n),$ where $’n’$ is the input size , is given by$T(n) = 8T(n/2) + qn,$ if $n>1$ $= p,$ if $n = 1$Where $p,q$ are constants. ...
1 1 vote
1 1 answer
2.1k
2.1k views
The running time of an algorithm $T(n),$ where $’n’$ is the input size , is given by$T(n) = 8T(n/2) + qn,$ if $n>1$$ = p,$ if $n = 1$Where $p,q$ are constants. The order ...
6 6 votes
3 3 answers
5.0k
5.0k views
The master theoremassumes the subproblems are unequal sizescan be used if the subproblems are of equal sizecannot be used for divide and conquer algorithmscannot be used ...
0 0 votes
1 answers 1 answer
2.4k
2.4k views
How to check if a given recurrence relation is in a format that is valid to apply Master’s Theorem? Also, how to distinguish between Master’s Theorem and extended Master’...
0 0 votes
0 0 answers
496
496 views
Show that case 3 of the master theorem is overstated, in the sense that the regularity condition $af(n/b)\geq cf(n)$ for some constant $c<1$ implies that there exists a c...
0 0 votes
0 0 answers
385
385 views
Show that if $f(n)=\Theta(n^{log_ba}\lg^kn )$, where $k\geq0$ then the master recurrence has solution $T(n) =\Theta(n^{log_ba} \lg^{k+1}n)$.For simplicity, confine your a...
0 0 votes
0 0 answers
544
544 views
Consider the regularity condition $af(n/b) \leq cf(n)$ for some constant $c<1$,which is part of case 3 of the master theorem. Give an example of constants $a\geq 1$ and $...
0 0 votes
1 1 answer
654
654 views
Can the master method be applied to the recurrence $T(n)=4T(n/2)+n^2\ lg\ n$ ?Why or why not? Give an asymptotic upper bound for this recurrence.
0 0 votes
1 1 answer
473
473 views
Use the master method to show that the solution to the binary-search recurrence $T(n)=T(n/2) + \Theta(1)$ is $T(n)=\Theta(lg\ n)$.
0 0 votes
1 1 answer
1.7k
1.7k views
Professor Caesar wishes to develop a matrix-multiplication algorithm that is asymptotically faster than Strassen’s algorithm. His algorithm will use the divide and conque...
0 0 votes
1 1 answer
964
964 views
Use the master method to give tight asymptotic bounds for the following recurrences.$T(n)=2T(n/4) + 1$$T(n)=2T(n/4) +\sqrt{n}$$T(n)=2T(n/4) +n$$T(n)=2T(n/4) +n^2$
0 0 votes
0 0 answers
1.3k
1.3k views
what is master theorem for function like T(n) = aT(n-b) + f(n) where f(n) is not in the form of $n^k$