Max element Given an array as input, find the max value in it For example Input [1, 2, 3, 4, 5] Output 5