๐Ÿ’ปap computer science a review

Merge sort algorithm

Written by the Fiveable Content Team โ€ข Last updated September 2025
Verified for the 2026 exam
Verified for the 2026 examโ€ขWritten by the Fiveable Content Team โ€ข Last updated September 2025

Definition

Merge sort is an efficient sorting algorithm that works by dividing an array or list into two halves, recursively sorting each half separately, and then merging them back together in sorted order.

"Merge sort algorithm" also found in: