We can reverse an Array in Swift using reversed function, here's the example:
let numbers = [3, 5, 7]
let reversedNumbers = Array(numbers.reversed())
print(reversedNumbers)
// Prints "[7, 5, 3]"
Here's the link :Array reversed()
At the end of the discussion part, it says Complexity O(1), I believe this is about time complexity, how can reverse an array take O(1) time?