Cubris interview question

They asked me to live pseudo code a reverse array algorithm