Tag Archives: Number Divisibility

Given a numeric string S, the task is to find the minimum and the maximum number of digits that must be removed from S such… Read More
Given array arr[] consisting of N non-negative integers, and an integer K, the task is to check if GCD of all composite numbers in the… Read More
In this article, We will see how to write the program to find the given number is Even or Odd Using the Recursion Method. If… Read More
We can input a set of integer, and check which integers in this range, beginning with 1 are not divisible by 2 or 3, by… Read More
Given an integer N, the task is to reduce N to 1 by minimum number of operations involving multiplication by 2 and division by 10.… Read More
Given two integers L and R, the task is to print all the even and odd numbers from L to R using recursion. Examples: Input:… Read More
Given an array arr[] consisting of N positive integers, the task is to find a subarray of length K such that concatenation of each element… Read More
Given an integer N, the task is to check if the given number N is even or odd. If it is found to be even,… Read More
Given two numbers n and m. The task is to find the quotient and remainder of two numbers by dividing n by m. Examples: Input:… Read More
Given an integer X, the task is to find the possible values of Q for the pair (Q, R) such that their product is equal… Read More
Given an integer N, the task is to count the minimum steps required to reduce the value of N to 0 by performing the following… Read More
Given an integer N, the task is to check if the concatenation of first N natural numbers is divisible by 3 or not. Print Yes… Read More
Given a positive integers N, the task is to find the smallest N digit number divisible by N. Examples:   Input: N = 2 Output: 10 Explanation: 10 is… Read More
Given an array of integers arr[] and a positive integer K, the task is to find the count of the longest possible subarrays with sum… Read More
Given an integer N, the task is to check whether N is a Nude number or not. A Nude number is a number that is… Read More