Skip to content

Commit 8b758bd

Browse files
committed
remove debug print statements for adjacency list and indegree dictionary
1 parent 7a3ddc6 commit 8b758bd

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

Data Structures and Algorithms (English)/7-18_Hashing - Hard Version (30).py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,6 @@ def reconstruct(seq, n):
2020
j = (j + 1) % n
2121
indeg.setdefault(x, 0) # ensure present even if 0
2222

23-
print(adj)
24-
print(indeg)
25-
2623
# topo sort, smallest first
2724
heap = [k for k in keys if indeg.get(k, 0) == 0]
2825
heapq.heapify(heap)

0 commit comments

Comments
 (0)