## Count of triples (A, B, C) where A*C is greater than B*B

Given three integers A, B and C. The task is to count the number of triples (a, b, c) such that a * c >… Read More »

- Generate two BSTs from the given array such that maximum height among them is minimum
- Count of triples (A, B, C) where A*C is greater than B*B
- Generate an array of size K which satisfies the given conditions
- Number of hours after which the second person moves ahead of the first person if they travel at a given speed
- Find the permutation p from the array q such that q[i] = p[i+1] - p[i]
- Properties of Determinants of Matrices
- Python | Count the array elements with factors less than or equal to the factors of given x

Given three integers A, B and C. The task is to count the number of triples (a, b, c) such that a * c >… Read More »

Given an array, the task is to count the elements of array whose factors are less than the given number x. Examples: Input: arr =… Read More »

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, the task is to make two Binary Search Tree from the given array (in any order) such that the… 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 contain 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 »