Rules of Optimization: Rule 1: Don't do it. Rule 2 (for experts only): Don't do it yet. Michael A. Jackson
A palindrome is a word, phrase, the number which reads the same backward or forward.
Write a program to find palindrome in the singly linked list. If the list contains palindrome, it return true; otherwise, it returns the false.
Print the list of items: 21->52->33->21->67->NULL Print the list of items after remove duplicate: false11->22->11->NULL Print the list of items after remove duplicate: false