Pergunta de entrevista da empresa Ciena

Write code (on a whiteboard) to reverse an array (preferably with the best big O notation)