Question d’entretien chez Equilar

Please find the max sum of any sub array in a bigger array. Please code it in Java. Basically find a sub array in a larger array, where the sum of all the elements in the sub array is the maximum sum that you can make.

Réponses aux questions d'entretien

Utilisateur anonyme

28 juil. 2016

I struggled. Its better to have two pointers and iterate down the list. See online or cracking the coding interview.

Utilisateur anonyme

25 mai 2021

Kadane's Algorithm