OnceHub interview question

Find the maximum number in an array.