I'm given to the following relationship:
$$C(x) = C(\lfloor(\frac x2)\rfloor) + x, C(1)=2$$
I do not understand how my teacher says to calculate big O. Any help to start?
I'm given to the following relationship:
$$C(x) = C(\lfloor(\frac x2)\rfloor) + x, C(1)=2$$
I do not understand how my teacher says to calculate big O. Any help to start?
HINT: Put $x=2^n$ and solve to find the series.