Quicksort

From NovaOrdis Knowledge Base
Revision as of 23:56, 19 August 2018 by Ovidiu (talk | contribs) (→‎Overview)
Jump to navigation Jump to search

Internal

Overview

CLRS page 170.

In-place sorting divide-and-conquer 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.