Top "Palindrome" questions

A word, phrase, number, or other sequence of units that may be read the same way in either direction, forward or backward.

Check string for palindrome

A palindrome is a word, phrase, number or other sequence of units that can be read the same way in …

java arrays string char palindrome
How to check for palindrome using Python logic

I'm trying to check for a palindrome with Python. The code I have is very for-loop intensive. And it seems …

python string palindrome
Write a function that returns the longest palindrome in a given string

e.g "ccddcc" in the string "abaccddccefe" I thought of a solution but it runs in O(n^2) time Algo 1: …

algorithm palindrome
How to write palindrome in JavaScript

I wonder how to write palindrome in javascript, where I input different words and program shows if word is palindrome …

javascript palindrome
Check if a string is a palindrome

I have a string as input and have to break the string in two substrings. If the left substring equals …

c# string palindrome
Creating a recursive method for Palindrome

I am trying to create a Palindrome program using recursion within Java but I am stuck, this is what I …

java recursion palindrome
Recursive Function palindrome in Python

I need help writing a recursive function which detects whether a string is a palindrome. But i can't use any …

python recursion palindrome
How to check that a string is a palindrome using regular expressions?

That was an interview question that I was unable to answer: How to check that a string is a palindrome …

regex palindrome
Find all substrings that are palindromes

If the input is 'abba' then the possible palindromes are a, b, b, a, bb, abba. I understand that determining …

java algorithm substring palindrome
how to find longest palindromic subsequence?

Here is the problem (6.7 ch6 ) from Algorithms book (by Vazirani) that slightly differs from the classical problem that finding longest …

algorithm dynamic-programming palindrome