Nine people canít make a baby in a month. (regarding the addition of more programmers to get a project completed faster Fred Brooks

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.