Skip to content

Commit ab453fc

Browse files
committed
move the folder.
1 parent 078baa7 commit ab453fc

File tree

7 files changed

+8
-7
lines changed

7 files changed

+8
-7
lines changed

ThreeSum.java renamed to array/ThreeSum.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
package Algorithms;
1+
package Algorithms.array;
22
import java.util.ArrayList;
33
import java.util.Arrays;
44

ThreeSumN2.java renamed to array/ThreeSumN2.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
package Algorithms;
1+
package Algorithms.array;
22
import java.util.ArrayList;
33
import java.util.Arrays;
44

TwoSum.java renamed to array/TwoSum.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
package Algorithms;
1+
package Algorithms.array;
22
import java.util.HashMap;
33

44

NQueens2.java renamed to dp/NQueens2.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
package Algorithms;
1+
package Algorithms.dp;
22

33
import java.util.ArrayList;
44

MinCut.java renamed to string/MinCut.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
package Algorithms;
1+
package Algorithms.string;
22

33
public class MinCut {
44
public int minCut(String s) {

tree/LCA.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,6 @@ public static void main(String[] strs) {
8989
System.out.println(cnt);
9090
}
9191

92-
9392
public TreeNode getLCA(TreeNode root, TreeNode node1, TreeNode node2) {
9493
cnt++;
9594
if (root == null || node1 == root || root == node2) {

PostOrder.java renamed to tree/PostOrder.java

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,10 @@
1-
package Algorithms;
1+
package Algorithms.tree;
22
import java.util.ArrayList;
33
import java.util.LinkedList;
44
import java.util.Stack;
55

6+
import Algorithms.TreeNode;
7+
68

79
public class PostOrder {
810
/**

0 commit comments

Comments
 (0)