Skip to content

Commit ac0359e

Browse files
Working
1 parent 9102d8c commit ac0359e

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

src/main/java/com/thealgorithms/graph/MergeAccounts.java

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@
3131
import java.util.Collections;
3232
public class MergeAccounts {
3333

34+
3435
private static List<List<String>> originalAccounts = new ArrayList<>();
3536
private static List<Integer> Unneeded = new ArrayList<Integer>();
3637
// {
@@ -73,10 +74,10 @@ public static void mergeAccounts(){
7374

7475
public static void removeUnneeded() {
7576
Collections.sort(Unneeded);
76-
System.out.println(Unneeded);
77+
// System.out.println(Unneeded);
7778
for (int a = Unneeded.size()-1; a > -1 ; a--) {
7879
int i = Unneeded.get(a);
79-
System.out.println(i);
80+
// System.out.println(i);
8081
originalAccounts.remove(i);
8182
}
8283
}

0 commit comments

Comments
 (0)