## Program to evaluate the expression (√X+1)^6 + (√X-1)^6

Given a number . The task is to find the value of the below expression for the given value of . Examples: Input: X =… 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
- 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
- Distribute N candies among K people

Given a number . The task is to find the value of the below expression for the given value of . Examples: Input: X =… Read More »

Given an integer ‘k’ and an array of integers ‘arr’ (less than 10^6), the task is to find the product of every K’th prime number… Read More »

You are given a container of X liters containing a mixture of wine and water. The mixture contains W% of water in it. How much… Read More »

Given an Grid of integers. The task is to find total numbers of 3 x 3 (contiguous) Magic Square subgrids in the given grid. A… Read More »

Given a number print the immediate smallest number formed by re-arranging the digits of a given number. Print “Not Possible” if it is not possible… Read More »

Given a number check whether it is a mystery number or not. A mystery number is that number which can be expressed as sum of… Read More »

Given an positive integer N, calculate the product of the first N prime numbers. Examples: Input : N = 3 Output : 30 Explanation :… Read More »

Given an array of integers. Replace every element by the product of all other elements of the array. Examples: Input : arr[] = { 2,… Read More »

Given an interval of integers [A, B]. For each number in this interval compute its greatest odd divisor. Output the sum of these divisors. Examples:… Read More »

We have an integer N. We need to express N as a sum of K integers such that by adding some(or all) of these integers… Read More »

Given a positive integer N where . The task is to find the smallest prime palindrome greater than or equal to N. Examples: Input: 8… Read More »

Given a rectangular sheet of length l and width w. we need to divide this sheet in the square sheets such that the number of… Read More »

Given a positive integer N. The task is to check if N is an Achilles number or not. Print ‘YES’ if N is an Achilles… Read More »

Given two integers A and B. The task is to count how many numbers in the interval [ A, B ] have an odd number… Read More »

Given the centre of circle (x1, y1) and its radius r, find the equation of the circle having centre (x1, y1) and having radius r.… Read More »