## Check if product of digits of a number at even and odd places is equal

Given an integer N, the task is to check whether the product of digits at even and odd places of a number are equal. If… Read More »

## Numbers in a Range with given Digital Root

Given an integer K and a range of consecutive numbers [L, R]. The task is to count the numbers from the given range which have… Read More »

## Find Nth positive number whose digital root is X

Given a number X ( 1<= X <= 9) and a positive number N, find the Nth positive number whose digital root is X. Digital… Read More »

## Sort the numbers according to their sum of digits

Given an array arr[] of N non-negative integers, the task is to sort these integers according to sum of their digits. Examples: Input: arr[] =… Read More »

## Find the number of solutions to the given equation

Given three integers A, B and C, the task is to find the count of values of X such that the following condition is satisfied,… Read More »

## Minimum number of given moves required to make N divisible by 25

Given a number N(1 ≤ N ≤ 1018) without leading zeros. The task is to find the minimum number of moves required to make N… Read More »

## Composite numbers with digit sum 1

Given a range [L, R], the task is to find all the numbers from the range which are composite as well as the eventual sum… Read More »

## Smallest integer with digit sum M and multiple of N

Given two positive integers N and M, the task is to find the smallest positive integer which is divisible by N and whose digit sum… Read More »

## Find M-th number whose repeated sum of digits of a number is N

Given two positive integers N and M. The task is to find M-th number whose sum of digits of a number until sum becomes single… Read More »

## Absolute difference between the first X and last X Digits of N

Given two integers N and X. The task is to print the absolute difference between the first X and last X digits in N. Considering… Read More »

## Smallest integer greater than n such that it consists of digit m exactly k times

Given three integer n, m and k, the task is to find the smallest integer > n such that digit m appears exactly k times… Read More »

## Check if a + b = c is valid after removing all zeroes from a, b and c

Given two integers a and b. Now, c can be found as a + b = c. The task is to check if the equation… Read More »

## Program to check if a number is divisible by sum of its digits

Given an integer N, the task is to check whether the number is divisible by the sum of its digits or not. If divisible, then… Read More »

## Count the number of holes in an integer

Given an integer num, the task is to count the number of holes in that number. The holes in each digit are given below: Digit… Read More »

## Program to check if a number is divisible by any of its digits

Given an integer N where . The task is to check whether the number is not divisible by any of its digit. If the given… Read More »