## Find next palindrome prime

Find the smallest palindrome number which is prime too and greater then given number N. Examples: Input : N = 7 Output :11 11 is… Read More »

## Number of Counterclockwise shifts to make a string palindrome

Given a string of lowercase English alphabets, find the number of counterclockwise shifts of characters required to make the string palindrome. It is given that… Read More »

## Sudo Placement | Palindrome Family

Given a string of lowercase characters, the task is to detect the family of string, where family of string is described as follows. ODD Palindrome… Read More »

## Recursive program to check if number is palindrome or not

Given a number, the task is to write a recursive function which checks if the given number is palindrome or not. Examples: Input : 121… Read More »

## Check if mirror image of a number is same if displayed in seven segment display

Given a positive number n. The task is to check if the mirror image of the number is equal to given number or not if… Read More »

## Palindrome by swapping only one character

Given a string, the task is to check if the string can be made palindrome by swapping a character only once. [NOTE: only one swap… Read More »

## Find all palindromic sub-strings of a given string | Set 2

Given a string, the task is to find all the palindromic sub-strings from the given string. In Set – 1, another approach has been already… Read More »

## Check if a number is Palindrome in PL/SQL

Given an integer, write a function that returns true if the given number is palindrome, else false. For example, 12321 is palindrome, but 1451 is… Read More »

## Print all funny words in a string

We are given a sentence. Our task is to print all funny words/strings in that sentence. What is a funny word ? Reverse the given… Read More »

## Print longest palindrome word in a sentence

Given a string str, the task is to print longest palindrome word present in the string str. Examples: Input : Madam Arora teaches Malayalam Output:… Read More »

## Longest Palindromic Substring using Palindromic Tree | Set 3

Given a string, find the longest substring which is palindrome. For example, if the given string is “forgeeksskeegfor”, the output should be “geeksskeeg”. Prerequisite :… Read More »

## Count palindromic characteristics of a String

Given a string s of length n, count the number of substrings having different types of palindromic characteristics. Palindromic Characteristic is the number of k-palindromes… Read More »

## Count palindrome words in a sentence

Given a string str and the task is to count palindrome words present in the string str. Examples: Input : Madam Arora teaches malayalam Output… Read More »

## Largest palindromic number by permuting digits

Given N(very large), task if to print the largest palindromic number obtained by permuting the digits of N. If it is not possible to make… Read More »

## Construct binary palindrome by repeated appending and trimming

Given n and k, Construct a palindrome of size n using a binary number of size k repeating itself to wrap into the palindrome. The… Read More »