Tutorialspoint.dev
Welcome To Tutorialspoint.dev
Officially launched 18th May 2019
Arrays Mathematical Sorting

Given a number, find the next smallest palindrome

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 output should be &#x20...
Dynamic Programming Strings Amazon

Palindrome Partitioning DP-17

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|ab...
PHP Web Technologies PHP-string

PHP Palindrome Check

In this article, we will learn how to check whether a number and a string is a palindrome or not in PHP. A number or string is said to be a palindrome if it remains s...
SQL SQL-PL/SQL SQL

Check whether a string is palindrome or not in PL/SQL

Prerequisite – PL/SQL introduction In PL/SQL code groups of commands are arranged within a block. A block group related declarations or statements. In declare ...
Computer Organization & Architecture microprocessor system-programming

8085 program to check whether the given 16 bit number is palindrome or not

Problem – Write an assembly language program to check whether the given 16 bit number is palindrome or not. If number is palindrome then store 01 at memory loc...
GATE CS Theory of Computation & Automata

Construct Pushdown Automata for all length palindrome

A Pushdown Automaton (PDA) is like an epsilon Non deterministic Finite Automata (NFA) with infinite stack. PDA is a way to implement context free languages. Hence, it...
Arrays Mathematical Sorting

Given a number, find the next smallest palindrome

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 output should be &#x20...
Hash Strings palindrome

Check if characters of a given string can be rearranged to form a palindrome

Given a string, Check if characters of the given string can be rearranged to form a palindrome. For example characters of “geeksogeeks” can be rearrang...
Bit Magic Mathematical binary-representation

Check if binary representation of a number is palindrome

Given an integer ‘x’, write a C function that returns true if binary representation of x is palindrome else return false. For example a numbers with bin...
Bit Magic Bit Magic

Find the n-th number whose binary representation is a palindrome

Find the nth number whose binary representation is a palindrome. Do not consider the leading zeros, while considering the binary representation. Consider the 1st numb...

Subscribe to Our Newsletter