Skip to content

Category Archives: Geometric

Given two line segments (p1, q1) and (p2, q2), find if the given line segments intersect with each other.Before we discuss the solution, let us… Read More
We are given an array of n points in the plane, and the problem is to find out the closest pair of points in the… Read More
Given three corner points of a triangle, and one more point P. Write a function to check whether P lies within the triangle or not.… Read More

Start Your Coding Journey Now!