Pregunta de entrevista de Amazon

Maximum , avg and sum problems from Arrays