Vertica interview question

How to check string, integer palindrome?