Cognizant Interview Question

palindrome, convert digit to word