Pergunta de entrevista da empresa Google

design algorithm to reverse the content in the memory.