Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/codemistic/Data-Structures-and-Algorithms
/ create_parent_grid
Function
create_parent_grid
Python/dijkstra.py:39–40 ·
view source on GitHub ↗
(height, width)
Source
from the content-addressed store, hash-verified
37
38
# the parent of a node (at its position)
39
def
create_parent_grid(height, width):
40
return
[[None
for
x in range(width)]
for
y in range(height)]
41
42
def
escape_route(maze):
43
final = []
Callers
1
escape_route
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected