We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6dd4f90 commit 6b38e8eCopy full SHA for 6b38e8e
src/main/java/com/thealgorithms/graph/MergeAccounts.java
@@ -16,7 +16,6 @@ public class MergeAccounts {
16
*/
17
18
private static List<Integer> Unneeded = new ArrayList<Integer>();
19
-
20
private static List<List<String>> originalAccounts;
21
public static List<List<String>> mergeAccounts(List<List<String>> inputAccounts){
22
originalAccounts = inputAccounts;
@@ -29,8 +28,8 @@ public static List<List<String>> mergeAccounts(List<List<String>> inputAccounts)
29
28
30
31
}
32
- }
33
+ }
+
34
35
removeUnneeded();
36
return originalAccounts;
0 commit comments