Click Labs Interview Question

Find the max element in an array.