Question d’entretien chez Arcesium

Kadane's algorithm based question