Frage im Vorstellungsgespräch bei Genedata

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