Question d’entretien chez PayPal

Kadane's algorithm (minimum subset sum)