Skip to content

Commit bbe381e

Browse files
authored
Update README_EN.md
1 parent d80e291 commit bbe381e

File tree

1 file changed

+2
-1
lines changed
  • solution/0900-0999/0973.K Closest Points to Origin

1 file changed

+2
-1
lines changed

solution/0900-0999/0973.K Closest Points to Origin/README_EN.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,8 @@ class Solution:
8585
```java
8686
class Solution {
8787
public int[][] kClosest(int[][] points, int k) {
88-
Arrays.sort(points, (p1, p2) -> Math.hypot(p1[0], p1[1]) - Math.hypot(p2[0], p2[1]) > 0 ? 1 : -1);
88+
Arrays.sort(
89+
points, (p1, p2) -> Math.hypot(p1[0], p1[1]) - Math.hypot(p2[0], p2[1]) > 0 ? 1 : -1);
8990
return Arrays.copyOfRange(points, 0, k);
9091
}
9192
}

0 commit comments

Comments
 (0)