Skip to content

Commit 8dc04f1

Browse files
refactor 1037
1 parent 7847abe commit 8dc04f1

File tree

1 file changed

+0
-20
lines changed

1 file changed

+0
-20
lines changed

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

-20
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,5 @@
11
package com.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
public class _1037 {
244
public static class Solution1 {
255
public boolean isBoomerang(int[][] points) {

0 commit comments

Comments
 (0)