Duo Security Interview Question

Reverse an array in-place