## Smallest perfect square divisible by all elements of an array

Given an array arr[], the task is to find the smallest perfect square which is divisible by all the elements of the given array. Examples:… Read More »

Given an array arr[], the task is to find the smallest perfect square which is divisible by all the elements of the given array. Examples:… Read More »

Given a Large number N ( number of digits in N can be up to 105). The task is to find the cuts required of… Read More »

Given three non-zero digits 0 < A, B, C < 9. The task is to find the smallest number divisible by 3 all of whose… Read More »

Given two positive integers n and k. Find minimum positive integer x such that the (x % k) * (x / k) == n, where… 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 »

You are given a number ‘N’. Your task is to split this number into 3 positive integers x, y and z, such that their sum… Read More »

Given two positive integers N and K. Find the minimum number of digits that can be removed from the number N such that after removals… Read More »

Given an array arr[] and an integer x, the task is to check whether the sum of all the perfect squares from the array is… Read More »

Given three integer A, B and N. The task is to find the sum of all the elements below N which are multiples of either… Read More »

Given a positive integer N. Find the largest divisor of the given number that is not divisible by a perfect square greater than 1. Examples:… Read More »

Given three integers a, b and x, the task is to get the multiple of x which is closest to ab. Examples: Input: a =… Read More »

Given three integers A, B and N, repeat the following process N times: Add a digit to A such that after adding it, A is… Read More »

Given three integer K, L and R (range [L, R]), the task is to find the minimum number of elements the range must be extended… Read More »

Given a very large number in the form of a string, the task is to check if the number is divisible by 75 or not.… Read More »