I know that master theorem is used for the recurrence relations of the form:
T(n) = aT(n/b) + f(n)
But in my question, i am supposed to solve the following recurrence relation by using master theorem:
T(n) = 2T(n/7) + 5T(n/8) + n
Can i take f(n)=n and since f(n)=Θ(nlogba), i say T(n) is O(nlogn)? But if i do this, i neglect the fact that the relation must be of the form T(n) = aT(n/b) + f(n). What should i do? Thanks