Hello!!
Could anyone please tell me how to formulate the basic running time T(n) equation in an algo with involves recursive calls.
For example for merge sort we have:
T(n)=2T(n/2)+D+C(n)
What do we exactly need to note to form such an eqn?!?
Thanks!!