Quest Global interview question

Find the largest element in the array.