Hyland Interview Question

I only remember one specific technical question: On the whiteboard, write a function that will return the largest number given an array of integers