## Program to find equation of a plane passing through 3 points

Given three points (x1, y1, z1), (x2, y2, z2), (x3, y3, z3). The task is to find the equation of the plane passing through these… Read More »

- Count number of binary strings without consecutive 1’s : Set 2
- Minimum window size containing atleast P primes in every window of given range
- tgamma() method in C/C++ with Examples
- Count numbers less than N containing digits from the given set : Digit DP
- Count of interesting primes upto N
- Transform N to Minimum possible value
- Find minimum value of the expression by choosing K elements from given array
- Check if an array can be formed by merging 2 non-empty permutations
- fpclassify() method in C/C++ with Examples

Given three points (x1, y1, z1), (x2, y2, z2), (x3, y3, z3). The task is to find the equation of the plane passing through these… Read More »

Given a point (x1, y1) and a line (ax + by + c = 0). The task is to find the perpendicular distance between the… Read More »

Given the number of sides n of a regular polygon. The task is to find out the Interior angle and Exterior angle of the polygon.… Read More »

Given an infinite grid, initial cell position (x, y) and a sequence of other cell position which needs to be covered in the given order.… Read More »

Given the first two digits of a large number digit1 and digit2. Also given a number c and the length of the actual large number.… Read More »

Prerequisites: Generating Functions, Fibonacci Numbers, Methods to find Fibonacci numbers. The method of using Generating Functions to solve the famous and useful Fibonacci Numbers‘ recurrence… Read More »

Given a number N, place numbers from the range [1, N2] in an NxN matrix such that sum in every row is equal. Examples: Input:… Read More »

Prerequisites: Triangular numbers Tetrahedral numbers Given a value n, and the task is to print tetrahedral number series up to nth term. Examples: Input: 5… Read More »

Given the length, width, and height of a triangular prism, the task is to find the volume of the triangular prism. Examples: Input: l =… Read More »

Given an array of size N and Q queries, each query consists of L, R, and K(consider 1 based-indexing for L and R). The task… Read More »

Given a function gcd(a, b) to find GCD (Greatest Common Divisor) of two number. It is also known that GCD of three elements can be… Read More »

Given the side of an Icosahedron. The task is to find the area and volume of the given Icosahedron. Examples : Input : a =… Read More »

Given a number N and the min and max range. Given N values of a and b respectively. The task is to count the number… Read More »

Given four arrays of 3 numbers each which represents sides and angles of two triangles. The task is to check if the two triangles are… Read More »

Given a railway seat number, the task is to check whether it is a valid seat number or not. Also print its berth type i.e… Read More »