Computer system analysis is like child-rearing; you can do grievous damage, but you cannot ensure success. Tom DeMarco

Longest palindromic substring

Language Java | Level Intermediate | Category Data structure | September 9, 2015 10:14 am


Data structure Description

A palindrome is a word or number which reads same using backward and forward.

Write a program to find a maximum-length contiguous substring of a given string that is also a palindrome.


Output

   					 

Palindrome word to find the longest palindrome: aibohphobia eye radar otto
Longest palindrome from given string: aibohphobia

				    

Comments


No comments available!

Please login to add comments.