Skip to content
Courses
DSA to Development
Get IBM Certification
Newly Launched!
Master Django Framework
Become AWS Certified
For Working Professionals
Interview 101: DSA & System Design
Data Science Training Program
JAVA Backend Development (Live)
DevOps Engineering (LIVE)
Data Structures & Algorithms in Python
For Students
Placement Preparation Course
Data Science (Live)
Data Structure & Algorithm-Self Paced (C++/JAVA)
Master Competitive Programming (Live)
Full Stack Development with React & Node JS (Live)
Full Stack Development
Data Science Program
All Courses
Tutorials
Data Structures & Algorithms
ML & Data Science
Interview Corner
Programming Languages
Web Development
CS Subjects
DevOps And Linux
School Learning
Practice
Build your AI Agent
GfG 160
Problem of the Day
Practice Coding Problems
GfG SDE Sheet
Contests
Accenture Hackathon (Ending Soon!)
GfG Weekly [Rated Contest]
Job-A-Thon Hiring Challenge
All Contests and Events
DSA
Practice Problems
Python
C
C++
Java
Courses
Machine Learning
DevOps
Web Development
System Design
Aptitude
Projects
Sign In
▲
Similar Topics
DSA
22.4k+ articles
School Learning
11.4k+ articles
Mathematical
7.7k+ articles
Arrays
6.4k+ articles
Mathematics
5.7k+ articles
Greedy
2k+ articles
Sorting
1.7k+ articles
Geometric
690+ articles
triangle
110+ articles
Coordinate Geometry
72 articles
Geometric-Lines
86 posts
Popular Articles
Recent Articles
Slope Formula
Last Updated: 07 May 2024
Slope formula is used to determine the steepness or inclination of a line. The x and y coordinates of the points lying on the line are used
...read more
Picked
Geometric-Lines
Mathematics
School Learning
Maths-Formulas
Angle between a Pair of Lines
Last Updated: 07 May 2021
Given two integers M1 and M2 representing the slope of two lines intersecting at a point, the task is to find the angle between these two li
...read more
Mathematical
Geometric
School Programming
Geometric-Lines
DSA
Check if two vectors are collinear or not
Last Updated: 08 October 2023
Given six integers representing the x, y, and z coordinates of two vectors, the task is to check if the two given vectors are collinear or n
...read more
Mathematical
School Programming
Geometric-Lines
DSA
Similar Topics
DSA
22.4k+ articles
School Learning
11.4k+ articles
Mathematical
7.7k+ articles
Arrays
6.4k+ articles
Mathematics
5.7k+ articles
Greedy
2k+ articles
Sorting
1.7k+ articles
Geometric
690+ articles
triangle
110+ articles
Coordinate Geometry
72+ articles
Equation of a Line | Definition, Different Forms and Examples
Last Updated: 07 April 2025
The equation of a line in a plane is given as y = mx + C, where x and y are the coordinates of the plane, m is the slope of the line, and C
...read more
Technical Scripter
Picked
Geometric-Lines
Mathematics
School Learning
Class 12
Technical Scripter 2020
Maths-Class-12
Maximum of sum of length of rectangles and squares formed by given sticks
Last Updated: 08 October 2023
Given an array arr[] consisting of N integers, representing the length of the sticks, the task is to find the maximum sum possible of all le
...read more
Arrays
Sorting
Mathematical
Geometric
area-volume-programs
Geometric-Lines
DSA
Count pairs of similar rectangles possible from a given array
Last Updated: 08 April 2022
Given a 2D array A[][2] of size N (1 ? N ? 103), where A[i][0] and A[i][1] denotes the length and breadth of rectangle i respectively.Two re
...read more
Arrays
Searching
Mathematical
Geometric
Competitive Programming
C++ Programs
square-rectangle
Geometric-Lines
DSA
Check if given polygon is a convex polygon or not
Last Updated: 08 August 2024
Given a 2D array point[][] with each row of the form {X, Y}, representing the co-ordinates of a polygon in either clockwise or counterclockw
...read more
Mathematical
Geometric
Python
Geometric-Lines
Maths
DSA
Count squares possible from M and N straight lines parallel to X and Y axis respectively
Last Updated: 28 December 2022
Given two arrays X[] and Y[] consisting of N and M integers such that there are N lines parallel to the y-axis and M lines parallel to the x
...read more
Arrays
Mathematical
Geometric
Hash
cpp-unordered_map
Geometric-Lines
DSA
Angle between a Pair of Lines in 3D
Last Updated: 02 February 2022
Given coordinates of three points A(x1, y1, z1), B(x2, y2, z2), and C(x3, y3, z3) in a 3D plane, where B is the intersection point of line A
...read more
Mathematical
Geometric
school-programming
Geometric-Lines
DSA
Minimum distance from a point to the line segment using Vectors
Last Updated: 01 March 2024
Given the coordinates of two endpoints A(x1, y1), B(x2, y2) of the line segment and coordinates of a point E(x, y); the task is to find the
...read more
Mathematical
Technical Scripter
School Programming
Geometric-Lines
Technical Scripter 2019
DSA
Find X and Y intercepts of a line passing through the given points
Last Updated: 06 January 2024
Given two points on a 2D plane, the task is to find the x - intercept and the y - intercept of a line passing through the given points.Examp
...read more
Algorithms
Mathematical
Geometric-Lines
DSA
Check whether two straight lines are orthogonal or not
Last Updated: 23 June 2022
Given two line segments AB and CD having A(x1, y1), B(x2, y2), C(x3, y3) and D(x4, y4). The task is to check whether these two lines are ort
...read more
Mathematical
Geometric
Geometric-Lines
DSA
Program for Point of Intersection of Two Lines
Last Updated: 16 June 2022
Given points A and B corresponding to line AB and points P and Q corresponding to line PQ, find the point of intersection of these lines. Th
...read more
Geometric
Geometric-Lines
DSA
Sweep Line Algorithm - Find if any Two Segments Intersect
Last Updated: 23 April 2025
Given n line segments represented as a 3D vector points[][][], where each line segment i is defined by its endpoints stored in points[i][0]
...read more
Geometric
Geometric-Lines
DSA
How to check if two given line segments intersect?
Last Updated: 05 May 2025
Given two line segments represented as a 3D vector points[][][], where each line segment i is defined by its endpoints stored in points[i][0
...read more
Adobe
Snapdeal
Mathematical
Geometric
Zomato
Geometric-Lines
DSA
1
2
3
4
5
6
>>
Last
1
2
3
4
5
6
>>
Last
1
2
3
4
>>
Last
We use cookies to ensure you have the best browsing experience on our website. By using our site, you acknowledge that you have read and understood our
Cookie Policy
&
Privacy Policy
Got It !