Slalom Interview Question

How can you find the highest value in an array?

Interview Answer

Anonymous

Oct 16, 2016

Create a variable to store the value and iterate over the array in a for-loop. If the value in the array is greater than the variable, write the value to the variable.