Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit8dc04f1

Browse files
refactor 1037
1 parent7847abe commit8dc04f1

File tree

1 file changed

+0
-20
lines changed

1 file changed

+0
-20
lines changed

‎src/main/java/com/fishercoder/solutions/_1037.java

Lines changed: 0 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,5 @@
11
packagecom.fishercoder.solutions;
22

3-
/**
4-
* 1037. Valid Boomerang
5-
*
6-
* A boomerang is a set of 3 points that are all distinct and not in a straight line.
7-
*
8-
* Given a list of three points in the plane, return whether these points are a boomerang.
9-
*
10-
* Example 1:
11-
* Input: [[1,1],[2,3],[3,2]]
12-
* Output: true
13-
*
14-
* Example 2:
15-
* Input: [[1,1],[2,2],[3,3]]
16-
* Output: false
17-
*
18-
* Note:
19-
* points.length == 3
20-
* points[i].length == 2
21-
* 0 <= points[i][j] <= 100
22-
* */
233
publicclass_1037 {
244
publicstaticclassSolution1 {
255
publicbooleanisBoomerang(int[][]points) {

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp