WebMD Health interview question

palindrome and bubble sort program