Fine, Java MIGHT be a good example of what a programming language should be like. But Java applications are good examples of what applications SHOULDN’T be like. pixadel

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.