Good code is its own best documentation. As you are about to add a comment, ask yourself, How can I improve the code so that this comment isn't needed? Improve the code and then document it to make it even clearer. Steve McConnell

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.



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



No comments available!

Please login to add comments.