Documentation is the castor oil of programming. Managers think it is good for programmers and programmers hate it. Gerald Weinberg

Check palindrome

Language Java | Level Intermediate | Category Data structure | September 5, 2015 10:21 pm


Data structure Description

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.


Output

   					 

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

				    

Comments


No comments available!

Please login to add comments.