An array A of size n is known to be sorted except for the first k elements and the last k elements, where k is a constant. Which of the following algorithms will be the best choice for sorting the array A?
a-Insertion Sort
b-Bubble sort
c-Quicksort
d-Selection sort