Infosys Interview Question

How to find out the largest value in an array