← 返回 goldmansachs 的题目列表Count Palindromic Anagram Pairs from String Array
类型:online_judge
goldmansachs
Given an array of strings, return the number of pairs of strings that, when concatenated, can be rearranged into a palindrome. The array of strings will only contain lowercase English characters.
Example
Input
abc
cba
bca