# Category Archives: Geometric

Given two positive integers X and Y, the task is to find whether a point (X, Y) can be reached from the point (0, 0)… Read More
Given the length of the three semi-axes as A, B, and C, the task is to find the surface area of the given Ellipsoid. Ellipsoid… Read More
Given two arrays of integers, X and Y representing points in the X-Y plane. Calculate the number of intersecting pairs of line segments formed from… Read More
Given an array arr[] consisting of (4 * N + 1) pairs of coordinates representing the coordinates of the corners of any N squares such… Read More
Given N horizontal lines represented by an array position[][] of size N, where position[i] represents the ith horizontal line which has x-coordinates from position[i] to… Read More
Given a rectangle of length L and breadth B, the task is to print the maximum integer altitude possible of the largest triangle that can… Read More
Given two arrays X[] and H[] of size N, where X[i] denotes the X-coordinate of the ith vertical rod and H[i] denotes the height of… Read More
In geometry, Descartes’ theorem states that for every four mutually tangent circles, the radii of the circles satisfy a certain quadratic equation. One can construct… Read More
Given two positive integers A and B representing the sides of the right kite, the task is to find the area of the circumcircle and… Read More
Given N non-intersecting nested polygons, and a 2D array arr[][] of pairs, where each cell of the array represents the coordinates of the vertices of… Read More
There are many ways of classifying algorithms and a few of them are shown below: Implementation Method Design Method Other Classifications Classification by Implementation Method:… Read More
Given two positive integers h and w representing the height h and width w which forms a rectangle. Also, there are two arrays of integers… Read More
Given angles(in degrees) A, C, and the side c, corresponding to the figure below, the task is to find the remaining two sides a and… Read More
Given a number N, and an array A[] of size 2N, the task is to make N pairs of these array elements and place them… Read More
Given an N-sided regular convex polygon and an angle A in degrees, the task is to find any 3 vertices i, j, and k, such… Read More