
The most shallow branch of the recursion tree is the leftmost branch. Its length is log3n
The deepest branch of the recursion tree is the rightmost one, and its depth is log3/2n
On each level of the tree the total size of the subproblems is at most n
So,
T≤nlog3/2n
Comments