##
Sum of all proper divisors of natural numbers in an array
July 11, 2017

Given an array of natural numbers count the sum of its proper divisors for every element in array. Input : int arr[] = {8, 13,… Read More »

July 11, 2017

Given an array of natural numbers count the sum of its proper divisors for every element in array. Input : int arr[] = {8, 13,… Read More »

July 6, 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 by… Read More »

July 3, 2017

Given a number n. The problem is to efficiently check whether n is a multiple of 4 or not without using arithmetic operators. Examples: Input… Read More »

July 1, 2017

A and B are two numbers which define a range, where A <= B. Find the total numbers in the given range [A … B]… Read More »

June 29, 2017

You are given N distinct numbers. You are tasked with finding the number of groups of 2 or 3 that can be formed whose sum… Read More »

June 28, 2017

Given two arrays A[] and B[], write an efficient code to determine if every element of B[] is divisible by at least 1 element of… Read More »

June 26, 2017

You are given an n-digit large number, you have to check whether it is divisible by 999 without dividing or finding modulo of number by… Read More »

June 9, 2017

Given a number n. Print the minimum positive integer by which it should be divided so that the result is an odd number. Examples: Input… Read More »

Given three integers a, b, n .Your task is to print number of numbers between a and b including them also which have n-divisors. A… Read More »

June 7, 2017

The problem is to check whether the decimal representation of the given binary number is divisible by 5 or not. Take care, the number could… Read More »

June 2, 2017

Given a string of digits “0-9”. The task is find the number of substrings which are divisible by 8 but not by 3. Examples: Input… 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 »