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 3a0495c commit d525a4fCopy full SHA for d525a4f
yoonexample/src/main/java/graph/ListGraph.java
@@ -60,7 +60,6 @@ public String depthFirstSearch(Enum<?> startV) {
60
61
if (visitVertex(visited, visitV)) {
62
sj.add(visitV.toString());
63
- vertexStack.push(visitV);
64
}
65
List<Enum<?>> vertexList = vertices[visitV.ordinal()];
66
for (int i = 0; i < vertexList.size(); i++) {
0 commit comments