## Choose points from two ranges such that no point lies in both the ranges

Given two segments [L1, R1] and [L2, R2], the task is to choose two elements x and y from both the ranges (one from range… 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
- Sum of the first N Prime numbers
- Minimum operations required to make all the array elements equal
- Sum of minimum elements of all subarrays
- Find the unit place digit of sum of N factorials
- Puzzle | Cut Blue Painted Cube
- A Sum Array Puzzle
- Check if it is possible to reach a number by making jumps of two given length
- Puzzle | Neighbors in a round table
- Generate all rotations of a number
- 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
- Number of array elements derivable from D after performing certain operations
- Minimum number of sets with numbers less than Y
- Immediate smallest number after re-arranging the digits of a given number
- Check if a number is a Mystery Number
- Color N boxes using M colors such that K boxes have different color from the box on its left
- Program to Convert Hexadecimal Number to Binary
- Find the Nth term of the series 14, 28, 20, 40,.....
- Minimum Increment / decrement to make array elements equal
- Sum of the multiples of two numbers below N
- Graph Types and Applications
- Find elements of array using XOR of consecutive elements
- Midpoint ellipse drawing algorithm
- Remove characters from a numeric string such that string becomes divisible by 8

Given two segments [L1, R1] and [L2, R2], the task is to choose two elements x and y from both the ranges (one from range… Read More »

Given three integers N, X and Y, the task is to find the minimum integer that should be added to X to make it at… Read More »

Given N points in 2 dimensional space. The task is to count the number of triplets pairs (A, B, C) such that point B is… Read More »

Given a string str, containing upper case and lower case characters. In a single operations, any lowercase character can be converted to an uppercase character… Read More »

Given a string str containing lower case alphabets and character ‘?’. The task is to check if it is possible to make str good or… Read More »

Given an array arr[] of positive distinct integers, two players A and B are playing a game. At each move, a player selects two numbers… 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 two positive integers N and M, the task is to find the smallest positive integer which is divisible by N and whose digit sum… Read More »

Given an N * M grid. It contains exactly three ‘*’ and every other cell is a ‘.’ where ‘*’ denotes a vertex of a… Read More »

Given an integer N. The task is to find the maximum possible sum of intermediate values (Including N and 1) attained after applying the beow… Read More »

Given three positive integers N, A and B. The task is to count the numbers of length N containing only digits A and B and… Read More »

Given an array arr[] of n integers and an integer k. The task is to make all the elements of arr[] equal with the given… Read More »

Given an array arr[] of integers. The task is to return the length of the maximum size sub-array such that either one of the condition… 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 two integers N and M which denote the number of persons of Type1 and Type2 respectively. The task is to find the maximum number… Read More »