# Tag Archives: maths-cube

## Check if digit cube limit of an integer arrives at fixed point or a limit cycle

Given an integer N, the task is to check if the Digit Cube limit of an integer arrives at a fixed point or in a… Read More »

## C Program to check whether a number is a Perfect Cube or not

Given a number N, the task is to write C program to check if the given number is perfect cube or not. Examples: Input: N… Read More »

## Check whether a number can be represented as difference of two consecutive cubes

Given a number N, the task is to check if the number N can be represented as the difference of two consecutive cubes or not.… Read More »

## Average of Cubes of first N natural numbers

Given a positive integer N, the task is to find the average of cubes of first N natural numbers. Examples:   Input: N = 2 Output: 4.5 Explanation: For integer… Read More »

## Find the integral roots of a given Cubic equation

Given 5 integers say A, B, C, D, and E which represents the cubic equation , the task is to find the integral solution for… Read More »

## Construct an Array such that cube sum of all element is a perfect square

Given the size of array N, the task is to construct an array of size N with positive integer elements such that the cube sum… Read More »

## Minimum value of K such that sum of cubes of first K natural number is greater than equal to N

Given a number N, the task is to find the minimum value K such that the sum of cubes of the first K natural number… Read More »

## Construct an Array of size N whose sum of cube of all elements is a perfect square

Given an integer N, the tasks is to construct a sorted array arr[] of size N, such that the sum of cube of all elements… Read More »

## Find Cube root of a number using Log function

Given number N, the task is to find the cube root using log function. Examples: Input: N = 8 Output: 2.000000 Input: N = 27… Read More »

## Sum of alternating sign cubes of first N Natural numbers

Given a number N, the task is to find the sum of alternating sign cubes of first N natural numbers, i.e., 13 – 23 +… Read More »

## Print N numbers such that their product is a Perfect Cube

Given a number N, the task is to find distinct N numbers such that their product is a perfect cube. Examples: Input: N = 3… Read More »

## Perfect Cube String

Given a String str, the task is to check the sum of ASCII values of all characters in this string is a perfect cube or… Read More »

## Sum of cubes of all Subsets of given Array

Given an array arr[], the task is to calculate the sum of cubes of all possible non-empty subsets of the given array. Since, the answer… Read More »

## Check whether N can be a Perfect Cube after adding or subtracting K

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 »

## Maximum given sized rectangles that can be cut out of a sheet of paper

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 »