## Possible values of Q such that, for any value of R, their product is equal to X times their sum

Given an integer X, the task is to find the possible values of Q for the pair (Q, R) such that their product is equal… Read More »

- Find two numbers such that difference of their squares equal to N
- Count of N digit Numbers whose sum of every K consecutive digits is equal
- Find the maximum sum (a+b) for a given input integer N satisfying the given condition
- Minimum number of squares whose sum equals to a given number N | Set-3
- Check if original Array is retained after performing XOR with M exactly K times
- Count numbers from range whose prime factors are only 2 and 3 using Arrays | Set 2
- Area of a Square | Using Side, Diagonal and Perimeter
- Min operations to reduce N to 1 by multiplying by A or dividing by B
- Count of numbers upto M divisible by given Prime Numbers
- Pair of integers having difference of their fifth power as X
- Find two numbers whose difference of fourth power is equal to N
- Perfect Square factors of a Number
- Number of ways to sum up a total of N from limited denominations
- Count of Squares that are parallel to the coordinate axis from the given set of N points
- Nth angle of a Polygon whose initial angle and per angle increment is given
- Length of remaining two sides of a Triangle from a given side and its adjacent angles
- Arrange the numbers in the Array as per given inequalities
- Count of sub-arrays with odd product
- Find a number M < N such that difference between their XOR and AND is maximum
- Find the maximum possible value for the given periodic function
- Count of natural numbers in range [L, R] which are relatively prime with N
- Maximum inversions in a sequence of 1 to N after performing given operations at most K times
- All possible values of floor(N/K) for all values of K
- Coprime divisors of a number
- Check if given number contains a digit which is the average of all other digits
- Convert Unix timestamp to DD/MM/YYYY HH:MM:SS format
- Possible values of Q such that, for any value of R, their product is equal to X times their sum
- Construct a square Matrix whose parity of diagonal sum is same as size of matrix
- SciPy - Integration of a Differential Equation for Curve Fit

Given an integer X, the task is to find the possible values of Q for the pair (Q, R) such that their product is equal… Read More »

Given an integer N representing the size of the matrix, the task is to construct a square matrix N * N which have element from… Read More »

Given a Unix Timestamp T (in seconds) for a given point in time, the task is to convert it to human-readable format (DD/MM/YYYY HH:MM:SS) Example:… Read More »

Given an array arr[] of Prime Numbers and a number M, the task is to count the number of elements in the range [1, M]… Read More »

Given a natural number N, the task is to find a number M smaller than N such that the difference between their bitwise XOR (N… Read More »

Given two integers N and K, the task is to find the total count of N-digit number such that the sum of every K consecutive… Read More »

Given an integer N, the task is to find the number of factors of N which are perfect square.Examples: Input: N = 100 Output: 4 Explanation: There are… Read More »

Given four integers N, A, K, n where N represents the number of sides the polygon, A represents the initial angle of the polygon, K… Read More »

Given one of the Sides S, Diagonal D, or Perimeter P of the square, the task is to find the area of the square with… Read More »

Given a list of N distinct integers and a list of N-1 inequality signs, the task is to insert the integers between the inequality signs,… Read More »

Pre-requisite: Lagrange’s Four-Square Theorem, Legendre’s Three-Square Theorem A number can always be represented as a sum of squares of other numbers. Note that 1 is… Read More »

Given a number N and two arrays arr1[] and arr2[] of length 4. The array arr1[] denotes the denomination of 1, 5, 10, and 20… Read More »

Given a number N and two integers A and B, the task is to check if it is possible to convert the number to 1… Read More »

Given two integers N and K, the task is to find the maximum number of inversion in a sequence of first N natural numbers after… Read More »

Given three integers N, L, and R. The task is to calculate the number of natural numbers in the range [L, R] (both inclusive) which… Read More »