Question d’entretien chez Sokrati

question based on kadane algorithm