Skip to content

Instantly share code, notes, and snippets.

Harish Kashyap harishkashyap

Block or report user

Report or block harishkashyap

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View automata.py
import bisect
class NFA(object):
EPSILON = object()
ANY = object()
def __init__(self, start_state):
self.transitions = {}
self.final_states = set()
self._start_state = start_state
You can’t perform that action at this time.