CME Group interview question

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