Skip to content

Commit 3fea716

Browse files
authored
Update 269-Alien-Dictionary.java
1 parent e5428ea commit 3fea716

File tree

1 file changed

+1
-8
lines changed

1 file changed

+1
-8
lines changed

java/269-Alien-Dictionary.java

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -61,13 +61,6 @@ private void createDegrees() {
6161
}
6262
}
6363

64-
private void printDebug() {
65-
System.out.println(this.adjList);
66-
System.out.println(this.revList);
67-
System.out.println(this.degrees);
68-
}
69-
70-
7164
private List<Character> topologicalSort() {
7265
// take zero degrees first into a queue
7366
Queue<Character> queue = new LinkedList<>();
@@ -143,4 +136,4 @@ public String alienOrder(String[] words) {
143136

144137
return getString(ordering);
145138
}
146-
}
139+
}

0 commit comments

Comments
 (0)