## Number formed by deleting digits such that sum of the digits becomes even and the number odd

Given a non-negative number N, the task is to convert the number by deleting some digits of the number, such that the sum of the… Read More »

- Check if the sum of digits of number is divisible by all of its digits
- First N terms whose sum of digits is a multiple of 10
- Reduce N to 1 with minimum number of given operations
- 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
- Minimum possible number with the given operation
- Check if two Integer are anagrams of each other
- Count of matchsticks required to represent the given number
- Find the largest number that can be formed by changing at most K digits

Given a non-negative number N, the task is to convert the number by deleting some digits of the number, such that the sum of the… Read More »

Given a number N in decimal base, the task is to find the sum of digits of the number in any base B. Examples: Input:… Read More »

Given a number A in decimal base, the task is to find the Nth digit from last in base B Examples: Input: A = 100,… Read More »

Given a number N, the task is to convert every digit of the number into words. Examples: Input: N = 1234 Output: One Two Three… Read More »

Given an integer N, the task is to find the next number with distinct digits in it. Examples: Input: N = 20 Output: 21 The… Read More »

Given two integers S and D, the task is to find the number having D number of digits and the sum of its digits as… Read More »

Given an integer X, the task is to partition its digit into two groups either A or B such that the sequence of digits is… Read More »

Given an integer N, the task is to count all the integers less than or equal to N that follow the property where the sum… Read More »

Given an array arr[] of N positive elements, the task is to find a pair in the array such that the digit sum of elements… Read More »

Given an integer N, the task is to reduce the number to a smallest positive integer X after removing some of the digits (possibly none)… Read More »

Given an integer N, the task is to find two positive integers A and B such that A + B = N and the sum… Read More »

Given two integer A and B, the task is to check whether the binary representation of B can be generated by permuting the binary digits… Read More »

Given a number N, the task is to minimize the number by changing at most K digits. Note that the number should not contain any… Read More »

Given Q queries and an integer K where each query consists of a range [L, R] and the task is to find the count of… Read More »

Given three integers P, Q and N where P < Q, the task is to compute the fraction value of P / Q and find… Read More »