retagged by
427 views

1 Answer

1 votes
1 votes

Complexity would be  : C*(n-1) + d reduce it asymptotically according to C and d.

edited by

Related questions

1.5k
views
1 answers
2 votes
Manu Thakur asked Aug 18, 2017
1,537 views
Can you please solve this following question further?What will be the time complexity?
350
views
0 answers
0 votes
akash.dinkar12 asked Jun 28, 2019
350 views
Show that in the recurrence$T(n)=\max_{0<q\leq n-1} (T(q)+T(n-q-1))+\Theta(n)$T(n)=\Omega(n^2)$
313
views
1 answers
0 votes
akash.dinkar12 asked Jun 27, 2019
313 views
Use the substitution method to prove that the recurrence $T(n)=T(n-1) + \Theta(n)$ has the solution $T(n) =\Theta(n^2)$.
629
views
1 answers
0 votes
akash.dinkar12 asked Jun 26, 2019
629 views
Use mathematical induction to show that when $n$ is an exact power of $2$ ... $,for k >1} \end{cases}$is $T(n) = n\ lg\ n$.