Infosys Interview Question

To write a small code on palindromes