520 views

1 Answer

Related questions

0 votes
0 votes
2 answers
1
0 votes
0 votes
1 answer
2
akash.dinkar12 asked Jun 28, 2019
253 views
Show that the expression $q^2 +(n-q-1)^2$ achieves a maximum over $q=0,1,\dots ,n-1$ when $q=0$ or $q=n-1$.
0 votes
0 votes
1 answer
3
akash.dinkar12 asked Jun 27, 2019
1,075 views
Show that the running time of QUICKSORT is $\Theta(n^2)$ when the array $A$ contains distinct elements and is sorted in decreasing order.
1 votes
1 votes
2 answers
4