Microsoft interview question

Sorting an array that is already k-sorted