Skip to content

Commit 6f1313d

Browse files
committed
Remove trailing whitespaces
1 parent 8a967cc commit 6f1313d

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

src/main/java/com/thealgorithms/others/SkylineProblem.java

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ public void run() {
4141
/**
4242
* Adds a building with the given left, height, and right values to the
4343
* buildings list.
44-
*
44+
*
4545
* @param left The left x-coordinate of the building.
4646
* @param height The height of the building.
4747
* @param right The right x-coordinate of the building.
@@ -52,7 +52,7 @@ public void add(int left, int height, int right) {
5252

5353
/**
5454
* Prints the skyline as a sequence of coordinates and heights.
55-
*
55+
*
5656
* @param skyline The list of {@link Skyline} objects representing the skyline.
5757
*/
5858
public void print(ArrayList<Skyline> skyline) {
@@ -71,7 +71,7 @@ public void print(ArrayList<Skyline> skyline) {
7171
/**
7272
* Computes the skyline for a range of buildings using the divide-and-conquer
7373
* approach.
74-
*
74+
*
7575
* @param start The starting index of the buildings to process.
7676
* @param end The ending index of the buildings to process.
7777
* @return A list of {@link Skyline} objects representing the computed skyline.
@@ -94,7 +94,7 @@ public ArrayList<Skyline> findSkyline(int start, int end) {
9494

9595
/**
9696
* Merges two skylines (sky1 and sky2) into one combined skyline.
97-
*
97+
*
9898
* @param sky1 The first skyline list.
9999
* @param sky2 The second skyline list.
100100
* @return A list of {@link Skyline} objects representing the merged skyline.
@@ -161,7 +161,7 @@ public class Skyline {
161161

162162
/**
163163
* Constructor for the {@code Skyline} class.
164-
*
164+
*
165165
* @param coordinates The x-coordinate of the skyline point.
166166
* @param height The height of the skyline at the given coordinate.
167167
*/
@@ -182,7 +182,7 @@ public class Building {
182182

183183
/**
184184
* Constructor for the {@code Building} class.
185-
*
185+
*
186186
* @param left The left x-coordinate of the building.
187187
* @param height The height of the building.
188188
* @param right The right x-coordinate of the building.
@@ -196,7 +196,7 @@ public Building(int left, int height, int right) {
196196

197197
/**
198198
* The main method that runs the skyline problem solution.
199-
*
199+
*
200200
* @param args Command-line arguments (not used).
201201
*/
202202
public static void main(String[] args) {

0 commit comments

Comments
 (0)