Pergunta de entrevista da empresa Virtusa

write a code to reverse the array in any language