Anonymous Interview Question

find max element from an array