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

# Tag Archives: Maths

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

Given an array arr[], the task is to count the number of unordered pairs (arr[i], arr[j]) from the given array such that (arr[i] * arr[j])… Read More

Given a matrix mat[][] of dimensions N * M, the task is to print the maximum number of trailing zeros that can be obtained in the… Read More

A General Quadrilateral can be defined as a closed two-dimensional shape that has four sides or edges, and also have four corners or vertices. In… Read More

In Algebra a term is either a single number or variable or numbers and variables multiplied together. Terms are separated by + or − signs,… Read More