## 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 »

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 »