## Python | Count the array elements with factors less than or equal to the factors of given x

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 count of digits 1, 2, 3, 4, find the maximum sum possible
- Generate two BSTs from the given array such that maximum height among them is minimum
- Check if it is possible to create a polygon with given n sides
- Minimum number of given operation required to convert n to m
- Total position where king can reach on a chessboard in exactly M moves | Set 2
- Maximum average of a subarray of size of atleast X and atmost Y
- Check if matrix can be converted to another matrix by transposing square sub-matrices
- Find smallest number K such that K % p = 0 and q % K = 0
- Total distinct pairs of ugly numbers from two arrays
- Generate an array of size K which satisfies the given conditions
- Find amount of water wasted after filling the tank
- Series summation if T(n) is given and n is very large
- Find if the given number is present in the infinite sequence or not
- Find the modified array after performing k operations of given type
- 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]
- Area of largest Circle inscribe in N-sided Regular polygon
- Properties of Determinants of Matrices
- Python | Count the array elements with factors less than or equal to the factors of given x

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 »

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 »