Domanda di colloquio di Meta

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