Show that the summation $$\sum_{i=1}^n log_2 \frac{n}{i}$$ is O(n). You may assume that n is a power of 2.
Hint: Use induction to reduce the problem to that for n/2
Show that the summation $$\sum_{i=1}^n log_2 \frac{n}{i}$$ is O(n). You may assume that n is a power of 2.
Hint: Use induction to reduce the problem to that for n/2