mirror of
https://github.com/donnemartin/system-design-primer.git
synced 2024-03-22 13:11:35 +08:00
parent
9069993cc0
commit
e116bd75fc
|
@ -1,5 +1,11 @@
|
|||
# -*- coding: utf-8 -*-
|
||||
from collections import deque
|
||||
from enum import Enum
|
||||
|
||||
|
||||
class State(Enum):
|
||||
unvisited = 0
|
||||
visited = 1
|
||||
|
||||
|
||||
class Graph(object):
|
||||
|
|
Loading…
Reference in New Issue
Block a user