Given a list of unique words, return all pairs of distinct indices (i, j) such that the concatenation of words[i] + words[j] is a palindrome.
Build word map for 5 words
abcd
dcba
lls
s
sssll
No pairs found yet...