Divide and Conquer

Two choices:

But we need to break our lists in half: T(n) = n + 2 T(n/2).

By balancing, we get $T(n) = n \log n$.


next up previous
Next: Two Algorithms Up: DIVIDE-AND-CONQUER SORTING Previous: Recurrences for Earlier Sorts