Persistent Systems Interview Question

Write a program to identify a palindrome. Extend te program to find the longest palindrome in a string or file. Write a program to copy a text file into another while eliminating all extra spaces between words. Write a program on hash table. Few questions related to Operating Systems and an algebra proof.