Quicksort

From NovaOrdis Knowledge Base
Jump to navigation Jump to search

Internal

Overview

CLRS page 170.

In-place sorting algorithm.

Worst-case time Θ(n2)
Expected running time Θ(n lgn)
Best-case time

Algorithm

Time Complexity Analysis

Quicksort and Selection Problem

The randomized Quicksort algorithm is somewhat similar to the one used by the generic Selection Problem.