Pregunta de entrevista de Genedata

Q: reverse an array without create a new array. unit tests. what's the time complexity?