Comcast interview question

reversing an array containing characters