## Probability of getting a sum on throwing 2 Dices N times

Given the sum. The task is to find out the probability of occurring that sum on the thrown of the two dice N times. Probability… 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 the sum. The task is to find out the probability of occurring that sum on the thrown of the two dice N times. Probability… Read More »

Given N numbers, the task is to find the minimum removal of numbers such that GCD of the remaining numbers is greater than initial GCD… Read More »

Given gcd G and lcm L. The task is to print any pair which has gcd G and lcm L. Examples: Input: G = 3,… Read More »

Given a rectangle of length l and breadth b, we need to find the area of the smallest square which can be formed with the… Read More »

Given an array of amounts and time_period that represents the amount of money N persons invest and the time period for which they had invested.… Read More »

Given a range i.e. L and R, the task is to find if we can form pairs such that GCD of every pair is 1.… Read More »

Given two positive integers M and N, the task is to find the greatest common divisor (GCD) using Middle School Procedure. Note: GCD of two… Read More »

Given a number N. The task is to find the number of unordered coprime pairs of integers from 1 to N. There can be multiple… Read More »

Given values of A and B, find the minimum positive integer value of X that can be achieved in the equation X = P*A +… Read More »

Given two numbers A and B where 1 <= A <= B. The task is to count the number of pairs whose elements are co-prime… Read More »

Round 1:Aptitude test Contains a list of 40 Math questions, 20 English question, 20 Logical Aptitude questions. Level of question was moderate. Round 2: Asked… Read More »

HCF (Highest Common Factor) or GCD (Greatest Common Divisor) of two numbers is the largest number that divides both of them. For example GCD of… Read More »

Question problem states that find gcd() of two numbers out of which one number can be as big as (10^9)^(10^9) which cannot be stored in… Read More »

Given an integer N, find and show the number of pairs which satisfies the following conditions: Square of distance between those two numbers is equal… Read More »

Given a function gcd(a, b) to find GCD (Greatest Common Divisor) of two number. It is also known that GCD of three elements can be… Read More »