Verizon interview question

Write a program to find out whether the string is palindrom?