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

## Program to delete Nth digit of a Number

Given a number num and a number n, the task is to delete this nth digit of the number num, from starting and from end.… Read More »

## Possible cuts of a number such that maximum parts are divisible by 3

Given a Large number N ( number of digits in N can be up to 105). The task is to find the cuts required of… Read More »

## Product of N with its largest odd digit

Given an integer N, the task is to find the product of N with its largest odd digit. If there is no odd digit in… Read More »

## Generate all rotations of a number

Given an integer n, the task is to generate all the left shift numbers possible. A left shift number is a number that is generated… Read More »

## Check whether a + b = c or not after removing all zeroes from a,b and c

Given two integers a and b, the task is to add them to get c. After that remove zeroes from a, b and c and… Read More »