Quest Global interview question

Write a program to find the largest number in an array