## Largest number in an array that is not a perfect cube

Given an array of n integers. The task is to find the largest number which is not a perfect cube. Print -1 if there is… 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 an array of n integers. The task is to find the largest number which is not a perfect cube. Print -1 if there is… Read More »

Given a right circular cylinder which is inscribed in a cone of height h and base radius r. The task is to find the largest… Read More »

Given two integers L and R, the task is to find the sum of all even numbers in range L and R. Examples: Input: L… Read More »

Given two rectangles, X with a ratio of length to width a:b and Y with a ratio of length to width c:d respectively. Both the… Read More »

Given three integers N, A and B, the task is to find whether N can be represented as sum of A’s and B’s. Examples: Input:… Read More »

Given three integers N, A and B, the task is to find whether N is divisible by any number that contains only A and B… Read More »

Given an array of N elements, the task is to convert it into a permutation (Each number from 1 to N occurs exactly once) by… Read More »

Given a string ( containing characters from ‘0’ to ‘9’) and two digits and . The task is to find the substring in the given… Read More »

Given two integers N and M, partiton N into M integers such that the difference between the maximum and minimum integer obtained by the partition… Read More »

Given four integers sourceX, sourceY, destinationX and destinationY which represent the source and destination coordinates on a chessboard. The task is to find the minimum… Read More »

Given a right circular cylinder of radius and height . The task is to find the radius of the biggest sphere that can be inscribed… Read More »

Given a sphere of radius . The task is to find volume of the biggest right circular cylinder that can be inscribed within it. Examples:… Read More »

Given a right circular cylinder of height , & radius . The task is to find the length of the longest rod that can be… Read More »

Given an integer N, the task is to print the Alphabet N Pattern as given below: 1 1 2 2 2 3 3 3 *… Read More »

Given an array of distinct elements, the task is to find the total number of two element pairs from the array whose sum is a… Read More »