Pergunta de entrevista da empresa AMD

There is a sequence of integer numbers, write a function to reverse the order of numbers.