master-theorem Questions

3

Solved

For master's theorem T(n) = a*T(n/b) + f(n) I am using 3 cases: If a*f(n/b) = c*f(n) for some constant c > 1 then T(n) = (n^log(b) a) If a*f(n/b) = f(n) then T(n) = (f(n) log(b) n) If a*f(n/b)...
Guernsey asked 31/3, 2013 at 23:4

1

Solved

I am having some problem trying to understand why T(n)=16T(n/4)+n! is considered Θ(n!) I am using the following master theorem below from here: https://www.geeksforgeeks.org/advanced-master...
Graphic asked 23/12, 2018 at 5:50

2

Solved

So I was calculating average case complexity of the following function using Master's theorem: T(n) = 2T (n/2)+ n/ log n According to http://people.csail.mit.edu/thies/6.046-web/master.pdf Quest...
Drysalt asked 11/10, 2016 at 17:35

1

Solved

I am quite frustrated over this. In CLRS 3rd edition, page 95 (chapter 4.5), it mentions that recurrences like T(n) = 2T(n/2) + n lg n cannot be solved with the Master Theorem because the diff...

2

Solved

Generic form: T(n) = aT(n/b) + f(n) So i must compare n^logb(a) with f(n) if n^logba > f(n) is case 1 and T(n)=Θ(n^logb(a)) if n^logba < f(n) is case 2 and T(n)=Θ((n^logb(a))(logb(a))) Is th...
Chanellechaney asked 17/11, 2012 at 11:48

2

Solved

for the relation T(n) = T(n-1) + T(n/2) + n can I first solve the term (T(n-1) + n) which gives O(n^2), then solve the term T(n/2) + O(n^2) ? according to the master theorem which also gives ...

1

Solved

So, on a previous exam, I was asked to solve the following recurrence equation without using the Master Theorem: T(n)= 9T(n/3) + n^2 Unfortunately, I couldn't figure it out on the exam, so I use...
Monday asked 20/2, 2015 at 21:54

5

Solved

Recently I have been studying recursion; how to write it, analyze it, etc. I have thought for a while that recurrence and recursion were the same thing, but some problems on recent homework assignm...
Dufresne asked 20/10, 2008 at 17:27
1

© 2022 - 2024 — McMap. All rights reserved.