## Smallest N digit number with none of its digits as its divisor

Given an integer N. The task is to find the smallest N digit number S, such that S is not divisible by any of its… Read More »

- Check whether a number can be represented as difference of two squares
- Find XOR of all elements in an Array
- Digital Root of a given large integer using Recursion
- Count numbers in a range with digit sum divisible by K having first and last digit different
- Find the maximum Even Digit Sum node in the given tree
- Maximize product of digit sum of consecutive pairs in a subsequence of length K
- C Program to Print all digits of a given number
- Find a N-digit number such that it is not divisible by any of its digits
- Program to print the given digit in words
- Array Range Queries to find the Maximum Armstrong number with updates
- Largest number possible after removal of K digits
- Find all Autobiographical Numbers with given number of digits
- Sum and Product of all even digit sum Nodes of a Singly Linked List
- GCD of elements occurring Fibonacci number of times in an Array
- Find numbers that divide X and Y to produce the same remainder
- Sum of all N digit palindromic numbers divisible by 9 formed using digits 1 to 9
- Find smallest number with given number of digits and sum of digits under given constraints
- Next Number with distinct digits
- Count of perfect squares of given length
- Find last digit in factorial
- Find position of given term in a series formed with only digits 4 and 7 allowed
- Queries for count of even digit sum elements in given range using MO's Algorithm
- Find the largest N digit multiple of N
- Count of groups having largest size while grouping according to sum of its digits
- Find smallest possible Number from a given large Number with same count of digits
- Maximise the sum of two Numbers using at most one swap between them
- Count of Prime digits in a Number
- Largest palindrome which is product of two N-digit numbers : Set 2
- Count of integers in an Array whose length is a multiple of K
- Count of digits after concatenation of first N positive integers

Given an integer N. The task is to find the smallest N digit number S, such that S is not divisible by any of its… Read More »

Given two integers N and K, the task is to find the count of N-digit numbers such that the absolute difference of adjacent digits in… Read More »

Given a string str, the task is to write a Java program to check whether a string contains only digits or not. If so, then… Read More »

Given two integers X and Y, find the minimal number with the sum of digits X, which is strictly greater than Y. Examples: Input: X… Read More »

Given three integers X, Y and N, the task is to find the largest number possible of length N consisting only of X and Y… Read More »

Given two integers N and X, the task is to find the minimum count of integers with sum N and having unit digit X. If… Read More »

Given two integers N and K, the task is to count the numbers up to N digits such that no two zeros are adjacents and… Read More »

Given a number N, the task is to find the smallest number whose square has N digits. Examples: Input: N = 2 Output: 4 Explanation:… Read More »

Given two integers L and R, the task is to find the count of total numbers of prime numbers in the range [L, R] whose… Read More »

Given a number N and a digit K (1 < K <= 9), the task is to find two integers A and B such that… Read More »

Given two N-digit prime numbers A and B, the task is to find the minimum number of steps taken to convert A to B. Condition… Read More »

Given a string str that represents a number. The task is to find all possible ways to split the given string such that each segment… Read More »

Given a number N, the task is to find the minimum number of operations required to reduce the number N to zero by subtracting the… Read More »

Place value can be defined as the value represented by a digit in a number on the basis of its position in the number. Here… Read More »

A Number N is said to be Self Number if it can not be written as M + sum of digits of M for any… Read More »