- #1
deedex11
- 1
- 0
1. I am trying to practice solving recurrence relations but get stuck when it comes to generalizing the last part of them and would be grateful if someone could offer some help. I'm not very good with series which is why I may be having some problems with them. Here are a few examples if its easier for you to explain with an example (these aren't homework questions, just random ones takes from a book):
2. t(n) = 5t(n/2) + n
t(n) = t(n/2) + 3logn
t(n) = 2t(n/2) + n^2
3. for the first one i tried to unroll it and have come up with 5^nt(1) + (5^n)/n(nlogn) + n. but this could be totally wrong. any help appreciated!
2. t(n) = 5t(n/2) + n
t(n) = t(n/2) + 3logn
t(n) = 2t(n/2) + n^2
3. for the first one i tried to unroll it and have come up with 5^nt(1) + (5^n)/n(nlogn) + n. but this could be totally wrong. any help appreciated!