diff --git a/DataStructures/Graphs/Cycles.java b/DataStructures/Graphs/Cycles.java index 5e085ab7..0b0ae22d 100644 --- a/DataStructures/Graphs/Cycles.java +++ b/DataStructures/Graphs/Cycles.java @@ -10,7 +10,7 @@ class Cycle { private int[][] adjacencyMatrix; private boolean[] visited; ArrayList> cycles = new ArrayList>(); - private boolean[] finalCycles; + public Cycle() { Scanner in = new Scanner(System.in);