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

- 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
- Find K Closest Points to the Origin
- Rectangle with minimum possible difference between the length and the width
- 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
- Intersecting rectangle when bottom-left and top-right corners of two rectangles are given
- Number of triangles that can be formed with given N points
- Largest Square that can be inscribed within a hexagon
- Check whether the point (x, y) lies on a given line
- 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 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
- Number of squares of side length required to cover an N*M rectangle
- Program for Area Of Square after N-th fold
- 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
- Largest sphere that can be inscribed in a right circular cylinder inscribed in a frustum
- Maximum area of rectangle possible with given perimeter
- Area of Largest rectangle that can be inscribed in an Ellipse
- Program to find the angles of a quadrilateral
- Check if it is possible to create a polygon with a given angle
- Circumradius of the rectangle
- Find a point that lies inside exactly K given squares
- Find area of triangle if two vectors of two adjacent sides are given

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 »