Login
Register
Dark Mode
Brightness
Profile
Edit Profile
Messages
My favorites
My Updates
Logout
Recent questions tagged master-theorem
0
votes
0
answers
1
How to solve the following recurrence relation? I get confused when decimals are used in the expression.
$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?
rexritz
308
views
rexritz
asked
Aug 13, 2023
Algorithms
recurrence-relation
master-theorem
+
–
1
votes
1
answer
2
how to solve T(n)=4T(√n)+3^5n with master theorem
how do i apply master theorem to this?
how do i apply master theorem to this?
mdboi
1.0k
views
mdboi
asked
Oct 29, 2022
Algorithms
algorithms
recurrence-relation
master-theorem
asymptotic-notation
+
–
1
votes
2
answers
3
how to solve T(n)=2T(n/2)−n^3n with master theorem
how do i apply master theorem to this? T(n)=2T(n/2)−n^3n
how do i apply master theorem to this? T(n)=2T(n/2)−n^3n
mdboi
784
views
mdboi
asked
Oct 28, 2022
Algorithms
algorithms
master-theorem
recurrence-relation
asymptotic-notation
+
–
1
votes
1
answer
4
𝑇(𝑛)=16𝑇(𝑛/4)+5𝑛^3 using the master theorem
how do i apply master theorem to this? 𝑇(𝑛)=16𝑇(𝑛/4)+5𝑛^3
how do i apply master theorem to this? 𝑇(𝑛)=16𝑇(𝑛/4)+5𝑛^3
mdboi
760
views
mdboi
asked
Oct 28, 2022
Algorithms
algorithms
master-theorem
recurrence-relation
asymptotic-notation
time-complexity
+
–
1
votes
1
answer
5
Solve equation using master theorem T(n) = 8T(n/2) + 3n^2
I can't figure out how to proceed and which case it's falling under after calculating h(n)
I can't figure out how to proceed and which case it's falling under after calculating h(n)
ItzDc
3.0k
views
ItzDc
asked
Jun 3, 2022
Algorithms
algorithms
recurrence-relation
master-theorem
+
–
0
votes
1
answer
6
What is the recurrence for T(n)=2T(n/4)+sqrt(n) using the Master Theorem
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...
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...
lucasbbs
6.9k
views
lucasbbs
asked
Feb 28, 2022
Algorithms
master-theorem
algorithms
recurrence-relation
+
–
0
votes
1
answer
7
Master Theorm
which formula to use in master theorm
which formula to use in master theorm
flash12
332
views
flash12
asked
Sep 26, 2021
Algorithms
algorithms
master-theorem
recurrence-relation
+
–
0
votes
0
answers
8
NIELIT 2017 OCT Scientific Assistant A (IT) - Section B: 14
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 of this algorithm is $n^{2}$ $n^{n}$ $n^{3}$ $n$
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 constan...
admin
881
views
admin
asked
Apr 1, 2020
Algorithms
nielit2017oct-assistanta-it
algorithms
recurrence-relation
time-complexity
master-theorem
+
–
1
votes
1
answer
9
NIELIT 2017 OCT Scientific Assistant A (CS) - Section C: 4
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 of this algorithm is $n^{2}$ $n^{n}$ $n^{3}$ $n$
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 or...
admin
1.3k
views
admin
asked
Apr 1, 2020
Algorithms
nielit2017oct-assistanta-cs
algorithms
recurrence-relation
time-complexity
master-theorem
+
–
3
votes
2
answers
10
ISRO2020-21
The master theorem assumes the subproblems are unequal sizes can be used if the subproblems are of equal size cannot be used for divide and conquer algorithms cannot be used for asymptotic complexity analysis
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 ...
Satbir
2.8k
views
Satbir
asked
Jan 13, 2020
Algorithms
isro-2020
algorithms
master-theorem
easy
+
–
0
votes
1
answer
11
Master's Theorem: Validity of Format
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’s Theorem?
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 Mas...
lolster
1.3k
views
lolster
asked
Jun 12, 2019
Algorithms
algorithms
master-theorem
time-complexity
asymptotic-notation
+
–
0
votes
0
answers
12
Cormen Edition 3 Exercise 4.6 Question 3 (Page No. 106)
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 constant $\epsilon >0$ such that $f(n)=\Omega(n^{log_ba+\epsilon})$.
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...
akash.dinkar12
297
views
akash.dinkar12
asked
Apr 5, 2019
Algorithms
cormen
algorithms
recurrence-relation
master-theorem
descriptive
difficult
+
–
0
votes
0
answers
13
Cormen Edition 3 Exercise 4.6 Question 2 (Page No. 106)
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 analysis to exact powers of $b$.
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...
akash.dinkar12
217
views
akash.dinkar12
asked
Apr 5, 2019
Algorithms
cormen
algorithms
recurrence-relation
master-theorem
descriptive
difficult
+
–
0
votes
0
answers
14
Cormen Edition 3 Exercise 4.5 Question 5 (Page No. 97)
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 $b>1$ and a function $f(n)$ that satisfies all the conditions in case 3 of the master theorem except the regularity condition.
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 $...
akash.dinkar12
337
views
akash.dinkar12
asked
Apr 5, 2019
Algorithms
cormen
algorithms
recurrence-relation
master-theorem
descriptive
difficult
+
–
0
votes
1
answer
15
Cormen Edition 3 Exercise 4.5 Question 4 (Page No. 97)
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.
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.
akash.dinkar12
288
views
akash.dinkar12
asked
Apr 5, 2019
Algorithms
cormen
algorithms
recurrence-relation
master-theorem
descriptive
+
–
0
votes
0
answers
16
Cormen Edition 3 Exercise 4.5 Question 3 (Page No. 97)
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)$.
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)$.
akash.dinkar12
253
views
akash.dinkar12
asked
Apr 5, 2019
Algorithms
cormen
algorithms
recurrence-relation
master-theorem
descriptive
+
–
0
votes
1
answer
17
Cormen Edition 3 Exercise 4.5 Question 2 (Page No. 97)
Professor Caesar wishes to develop a matrix-multiplication algorithm that is asymptotically faster than Strassen's algorithm. His algorithm will use the divide and conquer method, dividing each matrix into pieces of size ... value of $a$ for which Professor Caesar's algorithm would be asymptotically faster than Strassen's algorithm?
Professor Caesar wishes to develop a matrix-multiplication algorithm that is asymptotically faster than Strassen’s algorithm. His algorithm will use the divide and conq...
akash.dinkar12
1.3k
views
akash.dinkar12
asked
Apr 5, 2019
Algorithms
cormen
algorithms
recurrence-relation
master-theorem
descriptive
+
–
0
votes
0
answers
18
Cormen Edition 3 Exercise 4.5 Question 1 (Page No. 96)
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$
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$
akash.dinkar12
676
views
akash.dinkar12
asked
Apr 5, 2019
Algorithms
cormen
algorithms
recurrence-relation
master-theorem
+
–
0
votes
0
answers
19
master theorem
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$
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$
Hira Thakur
752
views
Hira Thakur
asked
Dec 13, 2018
Algorithms
master-theorem
+
–
0
votes
0
answers
20
Self Doubt
T(n)=4T(√n)+n How can we solve it using master theorem using subsitution and renaming.
T(n)=4T(√n)+nHow can we solve it using master theorem using subsitution and renaming.
jatin khachane 1
315
views
jatin khachane 1
asked
Dec 1, 2018
Algorithms
algorithms
master-theorem
self-doubt
+
–
0
votes
0
answers
21
Doubt - Source : Stack_Overflow
How the case is matched ? : T(n) = 2T(n/2) + O(n * m) we have a = 2, b = 2, c = 1 and c = $Log_ba$ (case 2) Hence, T(n) = O(n * m * log n) Now, substituting m with n T(n) = O(n2 * log n)
How the case is matched ? : T(n) = 2T(n/2) + O(n * m)we have a = 2, b = 2, c = 1 and c = $Log_ba$ (case 2)Hence, T(n) = O(n * m * log n)Now, substituting m with nT(n) =...
HeadShot
369
views
HeadShot
asked
Nov 27, 2018
Algorithms
master-theorem
+
–
0
votes
1
answer
22
madeeasy
how to apply masters theorem in this type of cases!????!
how to apply masters theorem in this type of cases!????!
CHïntän ÞäTël
306
views
CHïntän ÞäTël
asked
Nov 19, 2018
Algorithms
algorithms
master-theorem
+
–
0
votes
1
answer
23
recurrence equation:
T(1) = 1 T(n) = 2T(n - 1) + n, n ≥ 2 evaluates to (a) 2n + 1 - n – 2 (b) 2n – n (c) 2n + 1 – 2n – 2 (d) 2n – n HOW TO EVALUATES USING MASTER THEOREM
T(1) = 1 T(n) = 2T(n - 1) + n, n ≥ 2 evaluates to(a) 2n + 1 - n – 2(b) 2n – n(c) 2n + 1 – 2n – 2(d) 2n – n HOW TO EVALUATES USING MASTER THEOREM
altamash
406
views
altamash
asked
Nov 2, 2018
Algorithms
recurrence-relation
master-theorem
+
–
0
votes
0
answers
24
Master's theorem
Verma Ashish
1.8k
views
Verma Ashish
asked
Oct 20, 2018
Algorithms
master-theorem
time-complexity
+
–
1
votes
6
answers
25
Can we solve the recurrence T(n) = T(n/2) + 2^n by masters theorem, if possible?
I was wondering whether the recurrence T(n) = T(n/2) + 2n could be solved by using master theorem, and what would be the way. I tried solving the recurrence but can't. There is no mention to it in CLRS book. Please help. Thanks in advance.
I was wondering whether the recurrence T(n) = T(n/2) + 2n could be solved by using master theorem, and what would be the way. I tried solving the recurrence but can't. Th...
mohitrai0_0
19.7k
views
mohitrai0_0
asked
Sep 28, 2018
Algorithms
recurrence-relation
algorithms
master-theorem
time-complexity
asymptotic-notation
+
–
0
votes
2
answers
26
Self doubt
How to solve the given recurrence relation using master's theorem? T(n)=T(${n^{1/2}}$)+n
How to solve the given recurrence relation using master's theorem?T(n)=T(${n^{1/2}}$)+n
Verma Ashish
751
views
Verma Ashish
asked
Sep 19, 2018
Algorithms
algorithms
recurrence-relation
master-theorem
+
–
0
votes
2
answers
27
Analysis of the algorithms
T(n) = 3T( n/3 ) + n/2 The answer to the above question says that case 2 of masters theorem is applied here. How is it so?
T(n) = 3T( n/3 ) + n/2The answer to the above question says that case 2 of masters theorem is applied here. How is it so?
sahil_malik
314
views
sahil_malik
asked
Sep 11, 2018
Algorithms
algorithms
recurrence-relation
master-theorem
+
–
0
votes
1
answer
28
Time complexity
T(n)=T(n-1)+O(n) Can we apply master's theorem here ??
T(n)=T(n-1)+O(n)Can we apply master's theorem here ??
Rajucse
391
views
Rajucse
asked
Aug 21, 2018
Algorithms
recurrence-relation
master-theorem
+
–
0
votes
0
answers
29
Master's Theorem Recurrence Relation
T (n) = T (n/2) + 2n Using Master's Method What is the Complexity Of This Recurrence Relation? Or Using AnyOther Method?
T (n) = T (n/2) + 2nUsing Master's Method What is the Complexity Of This Recurrence Relation?Or Using AnyOther Method?
pradeepchaudhary
908
views
pradeepchaudhary
asked
Aug 20, 2018
Algorithms
algorithms
recurrence-relation
time-complexity
master-theorem
+
–
Page:
1
2
3
4
next »
Email or Username
Show
Hide
Password
I forgot my password
Remember
Log in
Register