Toggle navigation
Code Exercises
Interview Planner
Interview Guide
Practice Now
Blog
About
Easy
Moderate
Challenging
Longest Palindrome in Word
Longest Common Sequence
Largest Prime Factor
Package Rice Bags (part 2)
Perfect Binary Tree Check
Complete Binary Tree Check
Longest Palindrome in Word
A palindrome is a word which reads the same backward or forward.
'abcba' is a palindrome.
Write a method that returns the longest palindrome substring of a given string.
public String findLongestPalindrome(String word) {
}
Submit
Clear
Solution