Skip to content

Commit 8ffc502

Browse files
committed
Fix comments
1 parent 7d56d1e commit 8ffc502

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

src/main/java/com/thealgorithms/divideandconquer/SkylineAlgorithm.java

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -29,11 +29,12 @@ public ArrayList<Point> getPoints() {
2929
}
3030

3131
/**
32-
* The main divide and conquer, and also recursive algorithm. It gets an
33-
* ArrayList full of points as an argument. If the size of that ArrayList is
34-
* 1 or 2, the ArrayList is returned as it is, or with one less point (if
35-
* the initial size is 2 and one of it's points, is dominated by the other
36-
* one). On the other hand, if the ArrayList's size is bigger than 2, the
32+
* The main divide and conquer, and also recursive algorithm.
33+
* It gets an ArrayList full of points as an argument.
34+
* If the size of that ArrayList is 1 or 2, the ArrayList is
35+
* returned as it is, or with one less point (if the initial size is 2
36+
* and one of it's points, is dominated by the other one).
37+
* On the other hand, if the ArrayList's size is bigger than 2, the
3738
* function is called again, twice, with arguments the corresponding half of
3839
* the initial ArrayList each time. Once the flashback has ended, the
3940
* function produceFinalSkyLine gets called, in order to produce the final

0 commit comments

Comments
 (0)