# Tag Archives: Maths

Given a positive integer N, the task is to construct the longest sorted sequence of unique elements whose LCM of the is equal to N.… Read More
Given an integer N and an array arr[], the task is to check if a sequence of first N natural numbers, i.e. {1, 2, 3,… Read More
Given two positive integers N and K, the task is to find the value of N after incrementing the value of N in each operation… Read More
Implicit functions are functions where a specific variable cannot be expressed as a function of the other variable. A function that depends on more than… Read More
Given a 2D array point[][] with each row of the form {X, Y}, representing the co-ordinates of a polygon in either clockwise or counterclockwise sequence,… Read More
Reducing equations is a method of solving a complex equation and writing the equation into a simpler form. Not all the equations are in the… Read More
Given two positive integers A and B representing the sides of a triangle, the task is to check if the given two sides of the… Read More
Given an integer N, the task is to find all non-negative pairs (A, B) such that the sum of Bitwise OR and Bitwise AND of… Read More
Given a sorted array, arr[] of size N representing the positions of the ith point on X-axis and an integer K, the task is to… Read More
Given an array arr[] of size N, the task is to find the composite Fibonacci numbers present in the given array. Examples: Input: arr[] =… Read More
Given an integer N, the task is to find the closest palindromic number which is smaller than N. Examples: Input: N = 4000Output: 3993Explanation:3993 is… Read More
Given an integer N and an integer FN which denotes the Nth term of the linear equation F(N) = (2 * F(N – 1)) %… Read More
Given two arrays arr1[] and arr2[] of length N which contains Numerator and Denominator of N fractions respectively, the task is to count the number… Read More
Given an array, arr[] of size N and an integer K, the task is to find the minimum number of operations required to make all… Read More
Given five integers X, Y, A, B, and N, the task is to find the maximum possible absolute difference between X and Y by performing… Read More