T (n) = T (7n / 8) + 2n = 2n * (1 + 7/8 + (7/8) ^ 2 + ... (7/8) ^ Z) + T (1) where Z = ?
The only trick is to find Z. I bet the magazine will help. Sorry, it's too late, and I do not think directly, but ... you do not need to add a few 2n.
Edit: Z - how many times do you need to multiply n by 7/8 until you get 1.
So n * 7 ^ Z / 8 ^ Z = 1
(7/8) ^ Z = 1 / n
(8/7) ^ Z = n
You want to solve for Z.
source share