Microsoft Interview Question

They asked me a question on finding minimum sub array.