## Find integers that divides maximum number of elements of the array

Given an array arr[] of integers, the task is to find the element (other than 1) which is the factor of maximum number of elements… Read More »

- Find sum of a number and its maximum prime factor
- Count pairs (i,j) such that (i+j) is divisible by A and B both
- Find integers that divides maximum number of elements of the array
- Check if frequency of character in one string is a factor or multiple of frequency of same character in other string
- Find the k-th smallest divisor of a natural number N
- Print multiples of Unit Digit of Given Number
- Minimize the value of N by applying the given operations
- Count all the numbers in a range with smallest factor as K
- Find the sum of all multiples of 2 and 5 below N
- Number of elements with even factors in the given range

Given an array arr[] of integers, the task is to find the element (other than 1) which is the factor of maximum number of elements… Read More »

Given a range [n, m], the task is to find the number of elements that have even number of factors in the given range (n… Read More »

Given a number . The task is to print the multiples of the unit digit of N from the unit digit of N to N.… Read More »

Given an integer N, the task is to find the sum of N and it’s maximum prime factor. Examples: Input: 19 Output: 38 Maximum prime… Read More »

Given an integer N, below operations can be performed any number of times on N: Multiply N by any positive integer X i.e. N =… Read More »

Given two strings, the task is to check whether the frequencies of a character(for each character) in one string is a multiple or a factor… Read More »

Given a number N. The task is to find the sum of all multiples of 2 and 5 below N ( N may be up… Read More »

Given n, m, A and B. The task is to count the number of pairs of integers (x, y) such that 1 x n and… Read More »

Given a range of integer from ‘a’ to ‘b’ . Our task is to calculate the amount of numbers from the interval [ a, b… Read More »

You’re given a number N and a number K. Our task is to find the kth smallest divisor of N. Examples: Input : N =… Read More »

Given a number . The task is to find all such numbers less than N and are a product of exactly two distinct prime numbers.… Read More »

Given a number and a number . The task is to find the number of divisors of N which are divisible by K. Here K… Read More »

Given an integer N. The task is to find all factors of N and print the product of four factors of N such that: Sum… Read More »

Given an integer . The task is to find all factors of N and print the product of four factors of N such that: Sum… Read More »

Given an integer N, the task is to find the maximum product of A, B, C, D such that below conditions satisfy: N%A ==0 &&… Read More »