##
Count of m digit integers that are divisible by an integer n
May 27, 2017

Given two numbers m and n, count number of m digit numbers that are divisible by n. Examples: Input : m = 2 n =… Read More »

May 27, 2017

Given two numbers m and n, count number of m digit numbers that are divisible by n. Examples: Input : m = 2 n =… Read More »

May 21, 2017

Given a number, the task is to check if number is divisible by 25. The input number may be large and it may not be… Read More »

Given a number, the task is to check if a number is divisible by 16 or not. The input number may be large and it… Read More »

April 24, 2017

Given a number, the task is to check if number is divisible by 5. The input number may be large and it may not be… Read More »

April 20, 2017

Given a number n, find the n-th square-free number. A number is square-free if it is not divisible by a perfect square other than 1.… Read More »

April 17, 2017

Given a string of digits 0 – 9. The task is to count number of substrings which when convert into integer form an even number.… Read More »

April 16, 2017

Given a set of non-negative distinct integers, and a value m, determine if there is a subset of the given set with sum divisible by… Read More »

April 13, 2017

Given a string consisting of integers 0 to 9. The task is to count the number of substrings which when convert into integer are divisible… Read More »

April 2, 2017

Given an array of digits (contain elements from 0 to 9). Find the largest number that can be made from some or all digits of… Read More »

April 1, 2017

Given a number, check whether a given number is divisible by 36 or not. The number may be very large and may not fit in… Read More »

March 31, 2017

Given a number, the task is to find if the number is divisible by 9 or not. The input number may be large and it… Read More »

March 28, 2017

Given a large positive number as string, count all rotations of the given number which are divisible by 4. Examples: Input: 8 Output: 1 Input:… Read More »

March 27, 2017

Given a number, the task is to check if a number is divisible by 6 or not. The input number may be large and it… Read More »

March 25, 2017

Given a number, the task is to check if a number is divisible by 8 or not. The input number may be large and it… Read More »

March 22, 2017

Given a number, the task is to check if a number is divisible by 4 or not. The input number may be large and it… Read More »