## Maximum points of intersection n circles

Given a number n, we need to find the maximum number of times n circles intersect. Examples: Input : n = 2 Output : 2… 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 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
- Largest right circular cylinder within a cube
- Find maximum volume of a cuboid from the given perimeter and area
- 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
- 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
- Sum of lengths of all 12 edges of any rectangular parallelepiped

Given a number n, we need to find the maximum number of times n circles intersect. Examples: Input : n = 2 Output : 2… Read More »

You are given the slope of one line (m1) and you have to find the slope of another lie which is perpendicular to the given… Read More »

Given n points, we need to check if these n points are parallel to X axis or Y axis or to No axis. Examples: Input… Read More »

Given a midpoint of line(m1, m2) and one coordinate of a line (x1, y1), find the other end point(x2, y2) of a line Examples: Input… Read More »

Given an array of n integers, slope of a line i. e., m and the intercept of the line i.e c, Count the number of… Read More »

Given an equation of the circle X2 + Y2 = R2 whose center at origin (0, 0) and the radius is R. The task is… Read More »

OpenCV provides many drawing functions to draw geometric shapes and write text on images. Let’s see some of the drawing functions and draw geometric shapes… Read More »

Given a number X which represents the floor of a matchstick pyramid, write a program to print the total number of matchstick required to form… Read More »

Problem – Find the vertex, focus and directrix of a parabola when the coefficients of its equation are given. A set of points on a… Read More »

Given two arrays X[] and Y[] with n-elements, where (Xi, Yi) represent a point on coordinate system, find the smallest rectangle such that all points… Read More »

Given two overlapping rectangles on a plane. We are given bottom left and top right points of the two rectangles. We need to find the… Read More »

Given three positive integers a, b and d. You are currently at origin (0, 0) on infinite 2D coordinate plane. You are allowed to jump… Read More »

Given the length of sides of an equilateral triangle. We need to write a program to find the area of Circumcircle of the given equilateral… Read More »

Given two coordinates of a line as (x1, y1) and (x2, y2), find if the line passing through these points also passes through origin or… Read More »

Given two circles of radius r and R, both have their centre at the origin. Now, given another circle of radius r1 and centre at… Read More »