Hugging Face
Models
Datasets
Spaces
Posts
Docs
Enterprise
Pricing
Log In
Sign Up
Spaces:
stmnk
/
pygen
like
1
Runtime error
App
Files
Files
Community
1
Fetching metadata from the HF Docker repository...
ec93d6d
pygen
/
strings.py
stmnk
Update strings.py
ec93d6d
about 2 years ago
raw
Copy download link
history
blame
226 Bytes
dfs_code =
r"""
def dfs(visited, graph, node): #function for dfs
if node not in visited:
print (node)
visited.add(node)
for neighbour in graph[node]:
dfs(visited, graph, neighbour)
"""