## Smallest even digits number not less than N

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 »

- Program to find the last two digits of x^y
- Nth number whose sum of digit is multiple of 10
- Reduce number to a single digit by subtracting adjacent digits repeatedly
- Append a digit in the end to make the number equal to the length of the remaining string
- Count of integers in a range which have even number of odd digits and odd number of even digits
- Check if the sum of digits of number is divisible by all of its digits
- Round the given number to nearest multiple of 10 | Set-2
- Maximum number formed from array with K number of adjacent swaps allowed
- First N terms whose sum of digits is a multiple of 10
- Find the maximum sum of digits of the product of two numbers
- Largest and smallest digit of a number
- Nearest greater number by interchanging the digits
- Find the smallest positive number which can not be represented by given digits
- Count the number of digits of palindrome numbers in an array
- Check if two numbers have same number of digits
- Reduce N to 1 with minimum number of given operations
- Count the nodes in the given tree whose sum of digits of weight is odd
- Count the number of occurrences of a particular digit in a number
- Maximum number that can be display on Seven Segment Display using N segments
- Sum of the digits of square of the given number which has only 1's as its digits
- Find the first N integers such that the sum of their digits is equal to 10
- Sum of last digit of all integers from 1 to N divisible by M
- Find the remainder when First digit of a number is divided by its Last digit
- Minimum possible number with the given operation
- Check if two Integer are anagrams of each other
- Find the largest number that can be formed by changing at most K digits
- Count of matchsticks required to represent the given number

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 »

Given a number num containing n digits. The problem is to find the next greater number using the same set of digits in num on… Read More »

Given a ‘n’ digit number x, check if it is a plus perfect number or not. A number is plus perfect number if it is… Read More »

Given a range find total such numbers in the given range such that they have no repeated digits. For example: 12 has no repeated digit.… Read More »

Given two number l and r. Count the total numbers between l and r which when subtracted from their respective reverse, the difference is a… Read More »

Given two numbers N and M. Construct maximal number by permuting (changing order) the digits of N, not exceeding M. Note : It is allowed… Read More »