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