336. Palindrome Pairs
题目: Given a list of unique words. Find all pairs of distinct indices (i, j) in the given list, so that the concatenation of the two words, i.e. words[i] + words[j] is a palindrome.Example 1: Given wor
原创
2016-06-07 10:51:52 ·
344 阅读 ·
0 评论