# Category Archives: Geometric

Given coordinates of the N points of a Convex Polygon. The task is to check if the given point (X, Y) lies inside the polygon.… Read More
Given an integer N which is the number of sides of a regular polygon. The task is to find the smallest angle of rotation such… Read More
Given an array arr[] of positive integers where each element of the array represents the length of the rectangular blocks. The task is to find… Read More
Given N triangles along with the length of their three sides as a, b and c. The task is to count the number of unique… Read More
Given two integers X and Y, the task is to find the maximum number of points of intersection possible among X circles and Y straight… Read More
Given three integers A,B and C which denotes length of the three medians of a triangle, the task is to calculate the area of the… Read More
Given two integers A, B representing the length of two sides of a triangle and an integer K representing the angle between them in radian,… Read More
Given a matrix A[][] consisting of coordinates of N rectangles such that {A[i], A[i]} representing bottom left coordinate of rectangle and {A[i], A[i]} representing top… Read More
Given an unsorted array arr[] of N integers that are in Arithmetic Progression, the task is to print the missing element from the given series.… Read More
Given two points A(x1, y1, z1) and B(x2, y2, z2) and a set of points (a, b, c) which represent the axis (ai + bj… Read More
Given an N-sided regular polygon, we have connected all the vertices at the center of the polygon, thus dividing the polygon into N equal parts.… Read More
Given x coordinates of N vertical lines (parallel to Y-axis) and M line segments extending from (x1, y1) to (x2, y2), the task is to… Read More
Given two integers N and M, where N straight lines are parallel to the X-axis and M straight lines are parallel to Y-axis, the task… Read More
Given the length of all three sides of a triangle as a, b and c. The task is to calculate the length of the median… Read More
Given an integer N which denotes the points on the circumference of a circle, the task is to find the number of quadrilaterals formed using… Read More