Amazon interview question

Non concentric palindrome