Corrisoft Interview Question

Solve a palindrome problem in php or Java.