Skip to main content

7 docs tagged with "sorting"

View all tags

Bubble Sort

Adjacent-swap sorting, its invariant, and its narrow practical role.

Heapsort

In-place sorting with a binary heap and a worst-case n-log-n bound.

Insertion Sort

Adaptive stable sorting for small or nearly ordered ranges.

Merge Sort

Stable divide-and-conquer sorting with predictable runtime and linear array workspace.

Quicksort

Partition-based sorting, pivot risk, duplicate handling, and stack discipline.

Selection Sort

Minimum-selection sorting with fixed comparison cost and few swaps.

Sorting Algorithms

A decision map for comparison sorting, stability, adaptiveness, and memory trade-offs.