Question d’entretien chez MakeMyTrip

An array question on Kadane's algorithm.