We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 78a7b90 commit e3d0f5fCopy full SHA for e3d0f5f
src/main/java/com/thealgorithms/geometry/GrahamScan.java
@@ -27,7 +27,7 @@ public GrahamScan(Point[] points) {
27
28
hull.push(points[0]);
29
30
- // Find the first point not equal to points[0]//firstNonEqualIndex
+ // Find the first point not equal to points[0] firstNonEqualIndex
31
// and the first point not collinear firstNonCollinearIndex with the previous points
32
int firstNonEqualIndex;
33
for (firstNonEqualIndex = 1; firstNonEqualIndex < points.length; firstNonEqualIndex++) {
0 commit comments