## Pairs whose concatenation contain all digits

Given an array of n numbers. The task is to find the number of pairs that can be taken from the given which on concatenation… Read More »

- Generating numbers that are divisor of their right-rotations
- Check if a number is a Mystery Number
- Immediate smallest number after re-arranging the digits of a given number
- Largest number less than N with digit sum greater than the digit sum of N
- Print a number strictly less than a given number such that all its digits are distinct.
- Find minimum possible digit sum after adding a number d
- Find next palindrome prime
- Maximum sum and product of the M consecutive digits in a number
- Recursive program to check if number is palindrome or not
- Program to find the N-th term of series 3, 5, 33, 35, 53…. | Set-2
- Program for replacing one digit with other
- Find the slope of the given number
- Count Unary Numbers in a Range
- Print numbers with digits 0 and 1 only such that their sum is N
- Least Greater number with same digit sum
- Largest N digit number divisible by given three numbers
- Count all palindrome which is square of a palindrome
- Find last two digits of sum of N factorials
- Count numbers (smaller than or equal to N) with given digit sum
- Count Numbers with N digits which consists of even number of 0’s
- Program to find first N Iccanobif Numbers
- Check if the sum of digits of a number N divides it
- Generate a number such that the frequency of each digit is digit times the frequency in given number
- Largest number divisible by 90 that can be made using 0 and 5
- Divide a number into two parts such that sum of digits is maximum
- Smallest odd digits number not less than N
- Sum and Product of digits in a number that divide the number
- Minimum number of digits to be removed so that no two consecutive digits are same
- Largest number not greater than N all the digits of which are odd
- Check whether product of digits at even places of a number is divisible by K

Given an array of n numbers. The task is to find the number of pairs that can be taken from the given which on concatenation… Read More »

For the given length n, find all n-length Strobogrammatic numbers. Strobogrammatic Number is a number whose numeral is rotationally symmetric so that it appears the… Read More »

Given a number made of single digits, find its square. It may be assumed that the single digits are 3, 6 and 9. Numbers can… Read More »

Find the number of digits in the nth number constructed by using 6, 1, 4 and 9 as the only digits in the ascending order.… Read More »

Given K, number of digits, and d0 and d1 as the two digits to form the k-sized integer. Task is to check whether the k-sized… Read More »

Consider a series of numbers composed of only digits 2, 3, 5, 7 (primes). First few numbers in the series are 2, 3, 5, 7,… Read More »

Given a, b and N(1 to 106). Task is to count the numbers formed by digits a and b exactly of a length N such… Read More »

Given a number n, find sum of digits on n when represented in different bases from 2 to n-1. Examples: Input : 5 Output :… Read More »

Given two positive integers a and b, task is to find the number of digits in a^b (a raised to the power b). Example: Input:… Read More »

Given two integer number n and d. The task is to find the number between 0 to n which contain the specific digit d. Examples:… Read More »

A positive integer is considered a good number if sum of its digits is even. Find n-th smallest good number. Examples : Input : n… Read More »

Given a number N, we need to write a program to find the largest number not greater than N which has all digits even. Examples:… Read More »

We are given an integer N. We need to write a program to find the least positive integer X made up of only digits 9’s… Read More »

Let n be any power raised to base 2 i.e 2n. We are given the number n and our task is to find out the… Read More »

Given a number N, we need to write a program to find the smallest number not less than N, which has all digits even. Examples:… Read More »