Skip to content

Commit

Permalink
Fix donnemartin#148: Add State(Enum) to social_graph_snippets.py (don…
Browse files Browse the repository at this point in the history
  • Loading branch information
cclauss authored and donnemartin committed Jul 15, 2018
1 parent ded61ab commit 7b20f5c
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions solutions/system_design/social_graph/social_graph_snippets.py
Original file line number Diff line number Diff line change
@@ -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):
Expand Down

0 comments on commit 7b20f5c

Please sign in to comment.