Skip to content

Commit 96bf66e

Browse files
refactor 593
1 parent 5b61b57 commit 96bf66e

File tree

1 file changed

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

1 file changed

+0
-16
lines changed

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

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -4,22 +4,6 @@
44
import java.util.Arrays;
55
import java.util.List;
66

7-
/**
8-
* 593. Valid Square
9-
*
10-
* Given the coordinates of four points in 2D space, return whether the four points could construct a square.
11-
12-
The coordinate (x,y) of a point is represented by an integer array with two integers.
13-
14-
Example:
15-
Input: p1 = [0,0], p2 = [1,1], p3 = [1,0], p4 = [0,1]
16-
Output: True
17-
Note:
18-
All the input integers are in the range [-10000, 10000].
19-
A valid square has four equal sides with positive length and four equal angles (90-degree angles).
20-
Input points have no order.
21-
22-
*/
237
public class _593 {
248
public static class Solution1 {
259
/**

0 commit comments

Comments
 (0)