Question d’entretien chez Liberty Mutual Insurance

Find the bug in this code that needs to find the maximum value in an array

Réponse à la question d'entretien

Utilisateur anonyme

2 janv. 2020

The for-loop was setting the default max to 0, needed to be index 0

1