## Check if a line at 45 degree can divide the plane into two equal weight parts

Given a set of n points (xi, yi) in 2D coordinate. Each point has some weight wi. The task is to check whether a line… Read More »

- Find K Closest Points to the Origin
- Rectangle with minimum possible difference between the length and the width
- Number of triangles that can be formed with given N points
- Check if it is possible to move from (0, 0) to (x, y) in N steps
- Check whether the point (x, y) lies on a given line
- Largest Square that can be inscribed within a hexagon
- Number of squares of side length required to cover an N*M rectangle
- Find a point that lies inside exactly K given squares
- Program for Area Of Square after N-th fold
- Maximum area of rectangle possible with given perimeter
- Maximum points of intersection n lines
- Program to find the Circumcircle of any regular polygon
- Geometric Median
- Largest sphere that can be inscribed in a right circular cylinder inscribed in a frustum
- Program to find the angles of a quadrilateral
- Minimum cuts required to divide the Circle into equal parts
- Apothem of a n-sided regular polygon
- Find maximum volume of a cuboid from the given perimeter and area
- Largest right circular cylinder within a cube
- Minimum Cuts can be made in the Chessboard such that it is not divided into 2 parts
- Find Tangent at a given point on the curve
- Find the cordinates of the fourth vertex of a rectangle with given 3 vertices
- Biggest Reuleaux Triangle inscribed within a Square inscribed in an equilateral triangle
- Biggest Reuleaux Triangle inscirbed within a square inscribed in a semicircle
- Find the area of largest circle inscribed in ellipse
- Minimum squares to evenly cut a rectangle
- Largest cube that can be inscribed within a right circular cone
- Largest right circular cylinder within a frustum
- Find normal at a given point on the curve
- Area of Reuleaux Triangle

Given a set of n points (xi, yi) in 2D coordinate. Each point has some weight wi. The task is to check whether a line… Read More »

Given an angle where, . The task is to check whether it is possible to make a regular polygon with all of its interior angle… Read More »

Given two numbers a and b where b < a form a rectangle with points (0, b), (b, 0), (a-b, b), (b, a-b). Given a… Read More »

Given two vectors in form of (xi+yj+zk) of two adjacent sides of a parallelogram. The task is to find out the area of a parallelogram.… Read More »

Given 4 points (x1, y1, z1), (x2, y2, z2), (x3, y3, z3), (x4, y4, z4). The task is to write a program to check whether… Read More »

Given a rectanglular floor of (M X N) meters is to be paved with square tiles of (s X s). The task is to find… Read More »

Given three points on the X-axis which denotes the center of three line segments. The length of the line segment is also given as L.… Read More »

Given four points (x, y) in the cartesian coordinate. Find the possible no of quadrilaterals than can be formed by joining all the four points.… Read More »

Given two arrays H and S. The array H[] contains the length of the hypotenuse and the array S[] contains Area of a right-angled triangle.… Read More »

Given coordinates of 4 points, bottom-left and top-right corners of two rectangles. The task is to find the coordinates of the intersecting rectangle formed by… Read More »

Given coordinates of bottom-left and top-right corners of a rectangle. Check if a point (x, y) lies inside this rectangle or not. Examples: Input: bottom-left:… Read More »

You are given two planes P1: a1 * x + b1 * y + c1 * z + d1 = 0 and P2: a2 *… Read More »

We have a stick of length L. The stick got broken at (n-1) randomly chosen points (lengths of parts can be non-integer or floating point… Read More »

Given two planes P1: a1 * x + b1 * y + c1 * z + d1 = 0 and P2: a2 * x +… Read More »

You are given a points (x1, y1, z1) and a plane a * x + b * y + c * z + d =… Read More »