## Binary String of given length that without a palindrome of size 3

Given an integer n. Find a string of characters ‘a’ and ‘b’ such that the string doesn’t contain any palindrome of length 3. Examples: Input… Read More »

- Program to check if an Array is Palindrome or not
- Distinct palindromic sub-strings of the given string using Dynamic Programming
- Count pairs of non-overlapping palindromic sub-strings of the given string
- Maximum length palindromic substring such that it starts and ends with given char
- Find the time which is palindromic and comes after the given time
- Program to check if an Array is Palindrome or not using STL in C++
- Java program to check whether a string is a Palindrome
- Find the longest sub-string which is prefix, suffix and also present inside the string
- Minimum cuts required to convert a palindromic string to a different palindromic string
- Length of the longest substring that do not contain any palindrome
- Minimum length of the sub-string whose characters can be used to form a palindrome of length K
- Queries to check if substring[L...R] is palindrome or not
- Smallest and Largest Palindrome with N Digits
- Make lexicographically smallest palindrome by substituting missing characters
- Maximum length palindrome that can be created with characters in range L and R
- Count the nodes of the given tree whose weighted string is a palindrome
- Sum of all palindrome numbers present in an Array
- TCP Client-Server Program to Check if a Given String is Palindrome
- Count the number of digits of palindrome numbers in an array
- Count of three non-overlapping sub-strings which on concatenation forms a palindrome
- Longest double string from a Palindrome
- Check if Matrix remains unchanged after row reversals

Given an integer n. Find a string of characters ‘a’ and ‘b’ such that the string doesn’t contain any palindrome of length 3. Examples: Input… Read More »

Convert string S into a palindrome string. You can only replace a character with any other character. When you replace character ‘a’ with any other… Read More »

Double base Palindrome as the name suggest is a number which is Palindrome in 2 bases. One of the base is 10 i.e. decimal and… Read More »

Given a String find the minimum number of reduce operations required to convert a given string into a palindrome. In a reduce operation, we can… Read More »

Given a number which may be in octal or in decimal. If the number is not octal then convert it into octal then check if… Read More »

Given a string str, we need to find the no. of positions where a letter(lowercase) can be inserted so that string becomes a palindrome. Examples:… Read More »

Given a palindromic number num having n number of digits. The problem is to find the smallest palindromic number greater than num using the same… Read More »

Given a matrix containing lower alphabetical characters only, we need to print all palindromic paths in given matrix. A path is defined as a sequence… Read More »

We have given a anagram string and we have to check whether it can be made palindrome o not. Examples: Input : geeksforgeeks Output :… Read More »

Given a number ‘n’ and our goal is to find out it is palindrome or not without using any extra space. We can’t make a… Read More »

Given a string, the task is to count all palindrome substring in a given string. Length of palindrome substring is greater then or equal to… Read More »

Given two strings ‘A’ and ‘B’ of equal length. Two players play a game where they both pick a character from their respective strings (First… Read More »

Write a program to check if a sentence is palindrome or not. You can ignore white spaces and other characters to consider sentence as a… Read More »

Given a string, the task is to return the length of its longest possible chunked palindrome. It means a palindrome formed by substring in the… Read More »

Given a number n as string, find the nth even-length positive palindrome number . Examples: Input : n = “1” Output : 11 1st even-length… Read More »