Pergunta de entrevista da empresa Credit Karma

One question was just reversing array(not sure) and another question was simple mapping.