Pregunta de entrevista de Barclays

Smallest subarray with minimum sum (50 marks)