## Maximum even length sub-string that is permutation of a palindrome

Given a string , the task is to find the maximum length of the sub-string of that can be arranged into a Palindrome (i.e at… Read More »

## Minimum number of characters to be replaced to make a given string Palindrome

Given a string str, the task is to find the minimum number of characters to be replaced to make a given string palindrome. Replacing a… Read More »

## Sum of all odd length palindromic numbers within the range [L, R]

Given two integers and , the task is to find the sum of all the palindromic numbers within the range [L, R] which are of… Read More »

## Find a palindromic string B such that given String A is a subsequense of B

Given a string . Find a string , where B is a palindrome and A is a subsequence of B. A subsequence of a string… Read More »

## Find the player who rearranges the characters to get a palindrome string first

Given an even length string S consisting of lower-case English alphabets only, we have two players playing the game. The rules are as follows: the… Read More »

## Find the count of palindromic sub-string of a string in its sorted form

Given a string str consisting of lowercase English alphabets, the task is to find the total number of palindromic sub-strings present in the sorted form… Read More »

## Check if a string contains a palindromic sub-string of even length

S is string containing only lowercase English alphabets. We need to find if there exists at least one palindromic sub-string whose length is even. Examples:… Read More »

## Next smallest prime palindrome

Given a positive integer N where . The task is to find the smallest prime palindrome greater than or equal to N. Examples: Input: 8… Read More »

## Count all palindrome which is square of a palindrome

Given two positive integers L and R (represented as strings) where . The task is to find the total number of super-palindromes in the inclusive… Read More »

## Check if all the palindromic sub-strings are of odd length

Given a string ‘s’ check if all of its palindromic sub-strings are of odd length or not. If yes then print “YES” or “NO” otherwise.… Read More »

## Check if suffix and prefix of a string are palindromes

Given a string ‘s’, the task is to check whether the string has both prefix and suffix substrings of length greater than 1 which are… Read More »

## Check if there exists any sub-sequence in a string which is not palindrome

Given a string of lowercase English alphabets. The task is to check if there exists any subsequence in the string which is not a palindrome.… Read More »

## Check if it is possible to create a palindrome string from given N

Given a number N. The task is to create an alphabetical string in lower case from that number and tell whether the string is palindrome… Read More »

## Check if a string is palindrome in C using pointers

Given a string. The task is to check if the string is a palindrome or not using pointers. You are not allowed to use any… Read More »

## Rearrange the string to maximize the number of palindromic substrings

Given a string S consisting of lowercase characters(a-z) only, the task is to print a new string by rearranging the string in such a way… Read More »