next up previous
Next: Up: Previous:

Best Case

Partition yields subarrays of size n/2 each.

T(n) = 2T(n/2) + $\Theta(n)$
a=2, b=2, f(n) = $\Theta(n)$ = \(\Theta(n^{log_2 2})\) = $\Theta(n^1)$, Case 2
T(n) = \(\Theta(n lg n)\)



Average Case



\(\Theta(n lg n)\)


next up previous
Next: Up: Previous: