MCPcopy Create free account
hub / github.com/Vishruth-S/CompetitiveCode / __init__

Method __init__

HackerEarth_problems/Edges on a path/solution.py:13–17  ·  view source on GitHub ↗
(self,vertices)

Source from the content-addressed store, hash-verified

11
12 #basic structure of graph
13 def __init__(self,vertices):
14 self.V = vertices
15 self.graph = defaultdict(list)
16 self.Time = 0
17 self.ans = []
18
19 #to add a edge
20 def addEdge(self,u,v):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected