employer cover photo
employer logo
employer logo

Liberty Mutual Insurance

Engaged Employer

Liberty Mutual Insurance Interview Question

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

Interview Answer

Anonymous

Jan 2, 2020

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

1