Comcast Interview Question

reversing an array containing characters