## Find the Number which contain the digit d

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 »

- Generate all rotations of a number
- Immediate smallest number after re-arranging the digits of a given number
- Check if a number is a Mystery Number
- Program to Convert Hexadecimal Number to Binary
- Count distinct pairs from two arrays having same sum of digits
- Program to check the number is Palindrome or not
- Count of Numbers in Range where first digit is equal to last digit of the number
- Count the number of holes in an integer
- Maximum sum and product of the M consecutive digits in a number
- Program to delete Nth digit of a Number
- Largest number less than N with digit sum greater than the digit sum of N
- Sum and Product of digits in a number that divide the number
- Count Unary Numbers in a Range
- Minimum removals in a number to be divisible by 10 power raised to K
- Find minimum possible digit sum after adding a number d
- Program to find first N Iccanobif Numbers
- Print a number strictly less than a given number such that all its digits are distinct.
- Integers from the range that are composed of a single distinct digit
- Program to check if a number is divisible by any of its digits
- Possible cuts of a number such that maximum parts are divisible by 3
- Sum of integers upto N with given unit digit
- Program to check if a number is divisible by sum of its digits
- Nth number made up of odd digits only
- Print numbers with digits 0 and 1 only such that their sum is N
- Largest N digit number divisible by given three numbers
- Check whether product of digits at even places is divisible by sum of digits at odd place of a number
- Least Greater number with same digit sum
- Count all palindrome which is square of a palindrome
- Count Numbers with N digits which consists of even number of 0’s
- Find last two digits of sum of N factorials

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 »

A Pandigital Number is number which makes the use of all digits 1 to 9 exactly once. We are given a number, we need to… Read More »

An undulating number is a number that has only two types of digits and alternate digits are same, i.e., it is of the form “ababab….”.… Read More »

Given an integer value n, find out the n-th positive integer whose sum is 10. Examples: Input : n = 2 Output : 28 The… Read More »

Given two positive number N and X. The task is to find the sum of digits of a number formed by N repeating X number… Read More »

Given n and a number, the task is to find the sum of n digit numbers that are divisible by given number. Examples: Input :… Read More »

You have given two number n and k. You need to find the n-th number that contains the digit k or divisible by k (2… Read More »

You are given two positive integer value n and s. You have to find the total number of such integer from 1 to n such… Read More »

We are given two integers n and d, we need to count all n digit numbers that do not have digit d. Example : Input… Read More »

Given a number N. our task is to find the closest Palindrome number whose absolute difference with given number is minimum and absolute difference must… Read More »