We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0edc7a2 commit 6adf769Copy full SHA for 6adf769
unweighted-graph.py
@@ -1,5 +1,5 @@
1
# part 1- graph theory
2
-# make a dictionary of all the nodes(vertices) in the unordered graph
+# make a dictionaries of all the nodes(vertices) and their linked nodes in the unordered graph
3
from collections import defaultdict
4
5
graph = defaultdict(list)
0 commit comments