## Count of integers of the form (2^x * 3^y) in the range [L, R]

Given a range [L, R] where 0 ≤ L ≤ R ≤ 108. The task is to find the count of integers from the given… Read More »

- Make all numbers of an array equal
- Reach the numbers by making jumps of two given lengths
- Largest palindromic number in an array
- Check if a number is perfect square without finding square root
- Sum of XOR of all subarrays
- Minimum operations required to make all the array elements equal
- Generate all rotations of a number
- A Sum Array Puzzle
- Puzzle | Neighbors in a round table
- Check if it is possible to reach a number by making jumps of two given length
- Find the number in a range having maximum product of the digits
- Find K Closest Points to the Origin
- Count of pairs (x, y) in an array such that x < y
- Count pairs in array whose sum is divisible by K
- Number of array elements derivable from D after performing certain operations
- Find the Nth term of the series 14, 28, 20, 40,.....
- Count rotations of N which are Odd and Even
- Color N boxes using M colors such that K boxes have different color from the box on its left
- Minimum number of sets with numbers less than Y
- Midpoint ellipse drawing algorithm
- New Algorithm to Generate Prime Numbers from 1 to Nth Number
- Distribute N candies among K people
- Given two arrays count all pairs whose sum is an odd number
- Sum of all Submatrices of a Given Matrix
- Find elements of array using XOR of consecutive elements
- Sum of the multiples of two numbers below N
- Sum of bitwise AND of all subarrays
- Remove characters from a numeric string such that string becomes divisible by 8
- Find the number of distinct pairs of vertices which have a distance of exactly k in a tree
- Represent n as the sum of exactly k powers of two | Set 2

Given a range [L, R] where 0 ≤ L ≤ R ≤ 108. The task is to find the count of integers from the given… Read More »

Given two integers N1 and N2 which is the Compound Interest of two consecutive years. The task is to calculate the rate percentage. Examples: Input:… Read More »

Given two circles, of given radii, such that the circles don’t touch each other. The task is to find the ratio of the distance between… Read More »

Given an array arr[] of 1’s and 2’s, the task is to re-arrange the array in such a way that the prefix sum of the… Read More »

Given two arrays A[] and B[] of N and M integers respectively. The task is to count the number of unordered pairs formed by choosing… Read More »

Given an array arr[] of N integers, the task is to count the number of primes in the prefix sum array of the given array.… Read More »

Given a positive integer N. The task is to find the maximum number that can be displayed on seven segment display using N segments. Seven… Read More »

Given two integers N and K, the task is to generate an array arr[] of length K such that: arr[0] + arr[1] + … +… Read More »

Given an array arr[] of n integers. The task is to find an element from the array K such that K is prime. And, arr[i]… Read More »

Given an array arr[] of N integers. The task is to find the minimum number of given operations required to reduce the array to 0… Read More »

Given three integers N, E and O. The task is to find an array of size N such that the number of sub-arrays of sum… Read More »

Given an array[] of integers, the task is find the minimum number of operations required to change the array elements such that for any positive… Read More »

Given an integer N, the task is to find the minimum possible integer X such that X % M = 1 for all M from… Read More »

Given an integer N which represents the number of Vertices. The Task is to find the maximum number of edges possible in a Bipartite graph… Read More »

Given two integers V and E which represent the number of Vertices and Edges of a Planar Graph. The Task is to find the number… Read More »