mirror of
https://github.com/donnemartin/system-design-primer.git
synced 2025-09-19 02:20:39 +03:00
Update README.md
This commit is contained in:
@@ -106,7 +106,7 @@ c = Obj("c")
|
|||||||
d = Obj("d")
|
d = Obj("d")
|
||||||
a.adj_nodes = {"b":b, "c":c}
|
a.adj_nodes = {"b":b, "c":c}
|
||||||
b.adj_nodes = {"a":a}
|
b.adj_nodes = {"a":a}
|
||||||
c.adj_nodes = {"a":a,"d":d}
|
c.adj_nodes = {"a":a, "d":d}
|
||||||
d.adj_nodes = {"c":c}
|
d.adj_nodes = {"c":c}
|
||||||
print(obj.shortest_path(a, d))
|
print(obj.shortest_path(a, d))
|
||||||
"""
|
"""
|
||||||
|
Reference in New Issue
Block a user