Written by the Fiveable Content Team • Last updated August 2025
Verified for the 2026 exam
Verified for the 2026 exam•Written by the Fiveable Content Team • Last updated August 2025
Definition
In insertion sort, a sorted subarray refers to the portion of the array that has already been sorted. As new elements are inserted into their correct positions within this subarray, it expands until all elements are eventually sorted.