Skip to content

Commit 49ab6ee

Browse files
fix build
1 parent 1fdbf49 commit 49ab6ee

File tree

1 file changed

+2
-2
lines changed
  • src/main/java/com/fishercoder/solutions

1 file changed

+2
-2
lines changed

src/main/java/com/fishercoder/solutions/_149.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,8 @@ public int maxPoints(Point[] points) {
5151
int result = 0;
5252
for (int i = 0; i < points.length; i++) {
5353
map.clear();
54-
int overlap = 0, max = 0;
54+
int overlap = 0;
55+
int max = 0;
5556
for (int j = i + 1; j < points.length; j++) {
5657
int x = points[j].x - points[i].x;
5758
int y = points[j].y - points[i].y;
@@ -84,7 +85,6 @@ public int maxPoints(Point[] points) {
8485
}
8586

8687
private int generateGCD(int a, int b) {
87-
8888
if (b == 0) {
8989
return a;
9090
} else {

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy