Add a moderate question: find the min indices in the array to make it
sorted.