DriveNets interview question

How would you find the maximum value in an unsorted array?