Cognizant Interview Question

Algorithm to find out the largest number in an array