Skip to content

Commit ae6b2f6

Browse files
refactor 593
1 parent bc318d7 commit ae6b2f6

File tree

1 file changed

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

1 file changed

+0
-5
lines changed

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

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,6 @@
66

77
public class _593 {
88
public static class Solution1 {
9-
/**
10-
* Note: I don't need to use backtracking to find all permutations, this is an overkill.
11-
* This is the most easy one: https://leetcode.com/articles/kill-process-2/#approach-3-checking-every-case-accepted
12-
*/
13-
149
public boolean validSquare(int[] p1, int[] p2, int[] p3, int[] p4) {
1510
List<int[]> input = new ArrayList<>(Arrays.asList(p1, p2, p3, p4));
1611
List<List<int[]>> allPermuations = getAllPermutations(input);

0 commit comments

Comments
 (0)