Expedia (IT) Interview Question

Complementary pairs - string palindromes