Untitled
unknown
plain_text
5 years ago
569 B
8
Indexable
graph = {
'A': ['B', 'D'],
'B': ['E', 'F'],
'C': ['A', 'G', 'I'],
'D': ['J'],
'E': ['K', 'L'],
'F': ['M'],
'G': [],
'H': ['T','C'],
'I': [],
'J': ['P', 'Q'],
'K': [],
'L': [],
'M': [],
'N': [],
'O': ['H', 'R', 'S'],
'P': [],
'Q': ['U'],
'R': ['N'],
'S': ['V'],
'T': [],
'U': [],
'V': []
}Editor is loading...