Charles Schwab interview question

reverse an array of strings.