
Divided Palindromes Daily Coding Problem
Problem Statement
Given a list of words, find all pairs of unique indices such that the concatenation of the two words is a palindrome.
For example, given the list [“code”, “edoc”, “da”, “d”], return [(0, 1), (1, 0), (2, 3)].