# Tag Archives: math

Given three integers A, B and K. Initially, the first person was ahead of the second person by K kms. In every hour, the first… Read More
Determinant of a Matrix is a scalar property of that Matrix. Determinant is a special number that is defined for only square matrices (plural for… Read More
Given an array Q[] of length N, the task is to find the permutation P[] of integers from the range [1, N + 1] such… Read More
Given an array of n integers where n is greater than 1, the task is to make two Binary Search Tree from the given array… Read More
Given two integers N and K, the task is to generate an array arr[] of length K such that: arr[0] + arr[1] + … +… Read More
Given an array arr[] that contains the lengths of n sides that may or may not form a polygon. The task is to determine whether… Read More
Given a regular polygon of N sides with side length a. The task is to find the area of the Circle which inscribed in the… Read More
Given the position of the king on an 8 X 8 chessboard, the task is to count the total number of squares that can be… Read More
Given the count of digits 1, 2, 3, 4. Using these digits you are allowed to only form numbers 234 and 12. The task is… Read More
Given two arrays arr1[] and arr2[] of sizes N and M where 0 ≤ arr1[i], arr2[i] ≤ 1000 for all valid i, the task is… Read More
Given two integers n and m, in a single operation n can be multiplied by either 2 or 3. The task is to convert n… Read More
Given the volume V of a tank in liter. There is a pump which is filling the tank at speed of M liter per minute.… Read More
Given three integers A, B and C. In an infinite sequence, A is the first number, C is the common difference (Si – Si –… Read More
Given two N X M matrices of integers. In an operation, we can transpose any square sub-matrix in matrix1. The task is to check if… Read More
Given an array arr[] and two integers X and Y. The task is to find a sub-array of size of atleast X and atmost Y… Read More