Domanda di colloquio di Liberty Mutual Insurance

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

Risposta di colloquio

Anonimo

2 gen 2020

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

1