Pregunta de entrevista de RedDoorz

Calculate the sum of all elements in array using a Higher Order Function.