Skip to content

Tag Archives: maths-cube

Given two integers N and K, the task is to check whether N can be made a perfect cube after adding to or subtracting from… Read More
Given the length L and breadth B of a sheet of paper, the task is to find the maximum number of rectangles with given length… Read More
Given an array arr[], the task is to find the smallest perfect cube which is divisible by all the elements of the given array. Examples: … Read More
Given a number N. The task is to count total numbers under N which are both perfect square and cube of some integers.Examples:  Input: N… Read More
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 an array of N integers. The task is to find the largest number which is a perfect cube. Print -1 if there is no… Read More
Given a number N, the task is to find the next perfect cube greater than N.Examples:  Input: N = 6 Output: 8 8 is a… Read More
Given a number N, the task is to find No. of perfect Squares and perfect Cubes from 1 to a given integer, N ( Both… Read More
Cubes is an important topic that needs to be prepared for the Logical Reasoning section of the competitive examinations. Candidates needs to practice questions in… Read More
Given a number n, find the n-th centered cube number.The Centered cube number counts the number of points which are formed by a point that… Read More
Given a number n, the task is to find the largest perfect cube that can be formed by deleting minimum digits(possibly 0) from the number. X… Read More
A cube free number square free number whose none of any divisor is a cubic number (a number which is cube of an integer). Given… Read More
Given a number n, find the n-th number which is both a square and a cube. First few such numbers are 1, 64, 729, …… Read More
Given a number s (1 <= s <= 1000000000). If s is sum of the cubes of the first n natural numbers then print n,… Read More
We know that sum of cubes of first n natural numbers is = (n(n+1)/2)2.  Sum of cube of first n even natural numbers 23 +… Read More