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

- Nth number whose sum of digit is multiple of 10
- Smallest integer with digit sum M and multiple of N
- Find the longest subsequence of an array having LCM at most K
- Program to calculate product of digits of a number
- Append a digit in the end to make the number equal to the length of the remaining string
- Sort the numbers according to their sum of digits
- Find the sum of digits of a number at even and odd places
- Find the number of solutions to the given equation
- Check if product of digits of a number at even and odd places is equal
- Minimum number of given moves required to make N divisible by 25
- Longest subarray such that adjacent elements have at least one common digit | Set - 2
- Sum of two numbers where one number is represented as array of digits
- Find M-th number whose repeated sum of digits of a number is N
- Smallest integer greater than n such that it consists of digit m exactly k times
- Find Nth positive number whose digital root is X
- Check if two numbers have same number of digits
- Absolute difference between the first X and last X Digits of N
- Find the count of numbers that can be formed using digits 3, 4 only and having length at max N.
- Numbers in a Range with given Digital Root
- Maximum number formed from array with K number of adjacent swaps allowed
- Count the nodes in the given tree whose sum of digits of weight is odd
- Count the number of digits of palindrome numbers in an array
- Maximum number that can be display on Seven Segment Display using N segments
- Greatest number less than equal to B that can be formed from the digits of A
- Check if a + b = c is valid after removing all zeroes from a, b and c
- Third last digit in 5^N for given N
- Largest and smallest digit of a number
- Composite numbers with digit sum 1

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 »

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 »

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 »

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 »

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 »

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 »

Given an integer N the task is to create a string out of it by repeating the number such that the length of the resultant… Read More »

Given an integer N, write a program that returns true if the given number is a palindrome, else return false. Examples: Input: N = 2002… Read More »

Given a range represented by two positive integers L and R. Find the count of numbers in the range where the first digit is equal… Read More »

Given two integer m and n, the task is to find the sum of distinct digits of both the numbers and print YES if the… Read More »

Given two integer L and R representing a range [L, R], the task is to find the count of integers from the range that are… Read More »

Given two integer N and D, the task is to find the sum of all the integers from 1 to N whose unit digit is… Read More »

Given two positive integers N and K. Find the minimum number of digits that can be removed from the number N such that after removals… Read More »

Given an integer n, the task is to check whether n is in binary or not. Print true if n is the binary representation else… Read More »

Given an integer N, the task is to find the greatest number less than N such that the sum of its digits is greater than… Read More »