## Sort elements of the array that occurs in between multiples of K

Given an array arr[] and an integer K. The task is to sort the elements that are in between any two multiples of K. Examples:… Read More »

Given an array arr[] and an integer K. The task is to sort the elements that are in between any two multiples of K. Examples:… Read More »

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 »