Tutorialspoint.dev
Welcome To Tutorialspoint.dev
Officially launched 18th May 2019
Dynamic Programming maths-cube Dynamic Programming

Count all triplets whose sum is equal to a perfect cube

Given an array of n integers, count all different triplets whose sum is equal to the perfect cube i.e, for any i, j, k(i < j < k) satisfying the condition that ...
Geometric School Programming area-volume-programs

Program for Volume and Surface Area of Cube

Cube is a 3-dimensional box-like figure represented in the 3-dimensional plane. Cube has 6 squared-shape equal faces. Each face meet another face at 90 degree each. T...
Geometric Greedy area-volume-programs

Divide cuboid into cubes such that sum of volumes is maximum

Given the length, breadth, height of a cuboid. The task is to divide the given cuboid in minimum number of cubes such that size of all cubes is same and sum of volume...
Mathematical maths-cube series

Squared triangular number (Sum of cubes)

Given a number s (1 <= s <= 1000000000). If s is sum of the cubes of the first n natural numbers then print n, otherwise print -1. First few Squared triangular ...
Competitive Programming Greedy Mathematical

Find the Largest Cube formed by Deleting minimum Digits from a number

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 is called a perfect cube i...
Mathematical maths-cube Mathematical

Find Cube Pairs Set 1 (A n^(2/3) Solution)

Given a number n, find two pairs that can represent the number as sum of two cubes. In other words, find two pairs (a, b) and (c, d) such that given number n can be e...
Graph Graph

Hypercube Graph

You are given input as order of graph n (highest number of edges connected to a node), you have to find the number of vertices in a Hypercube graph of order n. Examp...
Graph Fibonacci Fibonacci

Fibonacci Cube Graph

You are given input as order of graph n (highest number of edges connected to a node), you have to find the number of vertices in a Fibonacci cube graph of order n. E...

Subscribe to Our Newsletter