Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/subbarayudu-j/TheAlgorithms-Python
/ __init__
Method
__init__
Graphs/depth_first_search.py:9–10 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
7
8
class
Graph():
9
def
__init__(self):
10
self.vertex = {}
11
12
# for printing the Graph vertexes
13
def
printGraph(self):
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected