Skip to content

Commit 0098880

Browse files
Docs: Add Wikipedia link for Graham's scan algorithm
1 parent f5e4e07 commit 0098880

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/main/java/com/thealgorithms/geometry/ConvexHull.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,7 @@ public static List<Point> convexHullRecursive(List<Point> points) {
8585
}
8686

8787
// Implementation of Graham's scan algorithm to ensure CCW order
88+
// See: https://en.wikipedia.org/wiki/Graham_scan
8889
// Find the bottom-most, left-most point
8990
Point start = Collections.min(points);
9091
// Sort points by polar angle with respect to start

0 commit comments

Comments
 (0)