Question d’entretien chez CME Group

basic string/array question regarding counting all unique strings (unique being if the string and the string's reverse exists)