after learn lot space exploration little girl name Ana want change subjectana girl love palindrome string read backwards forward she learn check give string palindrome soon grow tired problem come interesting need help solve ityou give array string consist small letter alphabet your task find palindrome pair array a palindrome pair pair string follow condition hold permutation concatenation string palindrome in word string let aab abcac concatenate aababcac check exist permutation new string palindrome case exist permutation aabccbaa two pair consider different string locate different index the pair string index ij consider pair ji