So the problem I have is T(n) = T(n/8) + T(7n/8) +5n. I need to draw a recursion tree to prove that T(n) = Ө (n log 8 n ). I also need to show that T(n) = O (n log 8 n ) and T(n) = Ω (n log 8 n ).
I get how to do it for T(n/8), but according to the problem, T(7n/8) has to be n log 8 n, even though I end up getting n log 7/8 n. How would I get n log 8 n from the T(7n/8)?
Also, I have no idea what I'm supposed to do with the 5n, so far I've only seen it as bn, does it change anything when the b is given? Or is the process more or less the same? Any help would be greatly appreciated.