## 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 »

- Puzzle | Minimum distance for Lizard
- Number of quadrilaterals possible from the given points
- Find a point such that sum of the Manhattan distances is minimized
- Rectangle with minimum possible difference between the length and the width
- Find K Closest Points to the Origin
- Check if it is possible to move from (0, 0) to (x, y) in N steps
- Check if a point lies on or inside a rectangle | Set-2
- Number of triangles that can be formed with given N points
- Intersecting rectangle when bottom-left and top-right corners of two rectangles are given
- Largest Square that can be inscribed within a hexagon
- Minimum squares to cover a rectangle
- Area of a circle inscribed in a regular hexagon
- Area of largest triangle that can be inscribed within a rectangle
- Check whether the point (x, y) lies on a given line
- Check if any square (with one colored cell) can be divided into two equal parts
- Check if a point is inside, outside or on the ellipse
- Program for Area Of Square after N-th fold
- Number of squares of side length required to cover an N*M rectangle
- Maximum number of pieces in N cuts
- Program to find the Radius of the incircle of the triangle
- Check if a point is inside, outside or on the parabola
- Program to find the Circumcircle of any regular polygon
- Area of Largest rectangle that can be inscribed in an Ellipse
- Program to find the angles of a quadrilateral
- Largest sphere that can be inscribed in a right circular cylinder inscribed in a frustum
- Check if it is possible to create a polygon with a given angle
- Find a point that lies inside exactly K given squares
- Find area of triangle if two vectors of two adjacent sides are given
- Circumradius of the rectangle
- Maximum area of rectangle possible with given perimeter

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 »