Pergunta de entrevista da empresa Meta

They asked to write psuedo code for an algorithm to reverse an array with pointers