Question d’entretien chez ABC Ltd

find the maximum subarray of an integer array.