Vertica Interview Question

How to check string, integer palindrome?