## Minimum sum after subtracting multiples of k from the elements of the array

Given an integer and an integer array , the task is to find the minimum possible sum of all the elements of the array after… Read More »

## Smallest odd digits number not less than N

Given a number N, the task is to find the smallest number not less than N, which has all digits odd. Examples: Input: N =… Read More »

## Sum and Product of digits in a number that divide the number

Given a positive integer N. The task is to find sum and product of digits of the number which evenly divides the number n. Examples:… Read More »

## Largest number smaller than or equal to N divisible by K

Given a number N and a number K, the task is to find the largest number smaller than or equal to N which is divisible… Read More »

## Largest number with the given set of N digits that is divisible by 2, 3 and 5

Given a set of ‘N’ digits. The task is to find the maximum integer that we can make from these digits. The resultant number must… Read More »

## Delete all nodes from the doubly linked list which are divisible by K

Given a doubly linked list containing N nodes, the task is to delete all nodes from the list which are divisible by K. Examples: Input:… Read More »

## Sum of the numbers upto N that are divisible by 2 or 5

Given a number n. The task is to find the sum of numbers up to n, that are divisible 2 or 5. Examples: Input: n… Read More »

## C Program to Compute Quotient and Remainder

Given two numbers A and B. The task is to write a program to find the quotient and remainder of these two numbers when A… Read More »

## Check if a number is divisible by 23 or not

Given a number, the task is to quickly check if the number is divisible by 23 or not. Examples: Input : x = 46 Output… Read More »

## Check if a number is divisible by 41 or not

Given a number, the task is to quickly check if the number is divisible by 41 or not. Examples: Input : x = 123 Output… Read More »

## Check if Decimal representation of an Octal number is divisible by 7

Given an Octal number N. The task is to write a program to check if the Decimal representation of the given octal number N is… Read More »

## Check if any permutation of a large number is divisible by 8

Given a large number N and the task is to check if any permutation of a large number is divisible by 8. Examples: Input: N… Read More »

## QA – Placement Quizzes | Number Divisibility | Question 1

If a positive integer leaves remainder 28 when divided by 143, then what is the remainder obtained on dividing the same number by 13? (A)… Read More »