# Category Archives: Mathematical

Given a pyramid, formed using unit area cubes, of given height H. The pyramid is then placed on the ground and painted from outside. The… Read More
Given N number of cars and an integer D i.e distance of the destination. All the cars start from the same starting point moving towards… Read More
Given an array arr[] of length N, the task is to find the original array such that every ith element in the given array(arr[i]) is… Read More
Given two positive integers N and K. The task is to find the Kth number that can be written as the sum of different non-negative… Read More
Given an array arr[] of size N, the task is to find the value of an integer K such that its repeated subtraction from array… Read More
Given integers N and K, the task is to check if a number can be represented as the sum of numbers that have at least… Read More
Given a positive integer N. In one operation subtract N with its highest divisor other than N and 1. The task is to find minimum… Read More
Given two positive integers A and B. The task is to minimize operations required to reduce A and B to 1. There are two types… Read More
Given an array arr[] consisting of N integers, the task is to find the maximum count of integers that are binary searchable in the given… Read More
Given a positive integer N, the task is to find the maximum set of numbers from the first N natural numbers whose Bitwise AND is… Read More
Number System is a method of representing numbers on the number line with the help of a set of symbols and rules. These symbols range… Read More
Given an array arr[] of size N and an integer X, the task is to find the length of the longest subsequence such that the… Read More
Given three integers A, B, and K. The task is to check whether A and B can be reduced to zero by decrementing x and… Read More
Given string str that contains only digits, the task is to return an expression by inserting the ‘+’ or ‘*’ operator between every two digits… Read More
Given a matrix mat[][] of dimensions N*M and an array target[] of M integers, the task is to check whether any row of the matrix… Read More