Skip to content

Tag Archives: palindrome

Given string str, the task is to find the minimum number of characters to be inserted to convert it to a palindrome. Before we go… Read More
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
I am a final year student of IIT Guwahati and the first phase of placements has just finished at our college. I was recruited by… Read More
Given a string, find the longest substring which is a palindrome.  Examples:  Input: Given string :"forgeeksskeegfor", Output: "geeksskeeg". Input: Given string :"Geeks", Output: "ee". Recommended… Read More
Given a number, find the next smallest palindrome larger than this number. For example, if the input number is “2 3 5 4 5”, the… Read More
Given a string, a partitioning of the string is a palindrome partitioning if every substring of the partition is a palindrome. For example, “aba|b|bbabb|a|b|aba” is… Read More
  Given a sequence, find the length of the longest palindromic subsequence in it.  As another example, if the given sequence is “BBABCBCAB”, then the… Read More
  Given a singly linked list of characters, write a function that returns true if the given list is a palindrome, else false. Recommended Practice… Read More

Start Your Coding Journey Now!