Cisco interview question

Find a character that duplicated in the array.