## Check whether the point (x, y) lies on a given line

Given the values of m and c for the equation of a line y = (m * x) + c, the task is to find… 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 the cordinates of the fourth vertex of a rectangle with given 3 vertices
- Find Tangent at a given point on the curve
- Biggest Reuleaux Triangle inscribed within a Square inscribed in an equilateral triangle
- Find the area of largest circle inscribed in ellipse
- Biggest Reuleaux Triangle inscirbed within a square inscribed in a semicircle
- 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 the values of m and c for the equation of a line y = (m * x) + c, the task is to find… Read More »

Given N points in 2 dimensional plane. A point is said to be above another point if the X coordinates of both points are same… Read More »

Given an N * M grid. It contains exactly three ‘*’ and every other cell is a ‘.’ where ‘*’ denotes a vertex of a… Read More »

Given here is a frustum of height h, top-radius r & base-radius R, which inscribes a right circular cylinder which in turn inscribes a sphere… Read More »

In normal median, we find a point that has minimum sum of distances. Similar concept applies in 2-D space. Given N points in 2-D space,… Read More »

Given an ellipse with major axis length and minor axis 2a & 2b respectively which inscribes a square which in turn inscribes a reuleaux triangle.… Read More »

Given the length L and breadth B of a sheet of paper, the task is to find the maximum number of rectangles with given length… Read More »

Given a cube of side length a, which inscribes a sphere which in turn inscribes a right circular cone. The task is to find the… Read More »

Given a regular hexagon of side length a which inscribes a square which in turn inscribes a reuleaux triangle. The task is to find the… Read More »

Given sides of four small squares. You have to find the side of the smallest square such that it can contain all given 4 squares… Read More »

Given an integer area, the task is to find the length and breadth of a rectangle with the given area such that the difference between… Read More »

Given here is a semicircle of radius r which inscribes a square which in turn inscribes a reuleaux triangle. The task is to find the… Read More »

Given here is an equilateral triangle of sidelength a which inscribes a square which in turn inscribes a reuleaux triangle. The task is to find… Read More »

Given an ellipse, with major and minor axis length 2a & 2b respectively. The task is to find the area of the largest circle that… Read More »

Given a list of points on the 2-D plane and an integer K. The task is to find K closest points to the origin and… Read More »