Algorithms

Identify the correct definition of Insertion sort.

Correct answer

B. A sorting algorithm that builds the final sorted array one element at a time by inserting each element into its correct position.

Explanation

Insertion sort refers to a sorting algorithm that builds the final sorted array one element at a time by inserting each element into its correct position.