## Number of array elements derivable from D after performing certain operations

Given an array of N integers and 3 integers D, A and B. The task is to find the number of array elements that we… Read More »

- Reach the numbers by making jumps of two given lengths
- Make Binary Search Tree
- Number of array elements derivable from D after performing certain operations
- Smallest perfect square divisible by all elements of an array
- Find three integers less than or equal to N such that their LCM is maximum
- Program to find Nth term divisible by a or b
- Program to find LCM of two Fibonnaci Numbers
- Minimum sum of the elements of an array after subtracting smaller elements from larger
- Sum of LCM(1, n), LCM(2, n), LCM(3, n), ... , LCM(n, n)
- Sum of common divisors of two numbers A and B
- Count of common multiples of two numbers in a range
- Find an integer X which is divisor of all except exactly one element in an array
- Count numbers in a range that are divisible by all array elements
- LCM of N numbers modulo M
- Count numbers in a range having GCD of powers of prime factors equal to 1
- Maximum GCD of N integers with given product
- LCM and HCF of fractions
- Time taken by two persons to meet on a circular track
- Count common prime factors of two numbers
- Count number of sub-sequences with GCD 1
- Largest N digit number divisible by given three numbers
- Maximum length subarray with LCM equal to product
- Find two numbers whose sum and GCD are given
- GCD of a number raised to some power and another number
- Minimum value that divides one number and divisible by other
- Find the winner by adding Pairwise difference of elements in the array until Possible
- Divide the two given numbers by their common divisors
- Minimum cuts required to divide the Circle into equal parts
- Check if there is any pair in a given range with GCD is divisible by k
- All possible co-prime distinct element pairs within a range [L, R]

Given an array of N integers and 3 integers D, A and B. The task is to find the number of array elements that we… Read More »

Given an array of integers. Find an integer X which is the divisor of all except for exactly one element in the given array. Note:… Read More »

Given N integers with unknown values (ai > 0) having product P. The task is to find the maximum possible greatest common divisor of these… Read More »

Given two integer p and q, the task is to find the minimum possible number x such that q % x = 0 and x… Read More »

Given an array arr[] of integers, the task is to find the LCM of all the elements of the array modulo M where M =… Read More »

Given a range represented by two positive integers L and R. The task is to count the numbers from the range having GCD of powers… Read More »

Given integers L, S1 and S2 where L is the length of a circular track in meters, S1 and S2 are the speeds of two… Read More »

Given an array arr, the task is to find the minimum sum of the elements of the array after applying the following operation: For any… Read More »

Given a number N(>=3). The task is to find the three integers (<=N) such that LCM of these three integers is maximum. Examples: Input: N… Read More »

Given n fractions as two arrays Num and Den. The task is to find out the L.C.M of the fractions. Examples: Input: num[] = {1,… Read More »

Given a number A and L.C.M and H.C.F. The task is to determine the other number B. Examples: Input: A = 10, Lcm = 10,… Read More »

Given two number A and B, the task is to find the sum of common factors of two numbers A and B. The numbers A… Read More »

Given a number N, the task is to find the sum of all the multiples of A and B below N. Examples: Input:N = 11,… Read More »

Given sum and gcd of two numbers and . The task is to find both the numbers a and b. If the numbers do not… Read More »

Given an array of elements where each element in the array represents the degree ( 0 <= a[i] <= 359 ) at which there is… Read More »