XYZ interview question

Subarray minimum question for final round