Media.net Interview Question

lazy typist and array sum