mirror of
https://github.com/donnemartin/interactive-coding-challenges.git
synced 2024-03-22 13:11:13 +08:00
Fix graph adj_weights comment (#228)
This commit is contained in:
parent
ba3ec6f492
commit
b92cd87a16
|
@ -119,7 +119,7 @@
|
||||||
" self.visit_state = State.unvisited\n",
|
" self.visit_state = State.unvisited\n",
|
||||||
" self.incoming_edges = 0\n",
|
" self.incoming_edges = 0\n",
|
||||||
" self.adj_nodes = {} # Key = key, val = Node\n",
|
" self.adj_nodes = {} # Key = key, val = Node\n",
|
||||||
" self.adj_weights = {} # Key = Node, val = weight\n",
|
" self.adj_weights = {} # Key = key, val = weight\n",
|
||||||
"\n",
|
"\n",
|
||||||
" def __repr__(self):\n",
|
" def __repr__(self):\n",
|
||||||
" return str(self.key)\n",
|
" return str(self.key)\n",
|
||||||
|
|
Loading…
Reference in New Issue
Block a user