Pergunta de entrevista da empresa Microsoft

Reverse a string, and sum up an array in the even/odd indicies