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 aymns committed Sep 13, 2020
1 parent 0cc9362 commit a910b84
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 a910b84

Please sign in to comment.