Barclays Interview Question

Smallest subarray with minimum sum (50 marks)