Pergunta de entrevista da empresa Oracle

How would you reverse a file