Skip to content

Instantly share code, notes, and snippets.



Last active Nov 10, 2019
What would you like to do?
queue = [root]
while queue is not empty:
r = queue.pop()
for each c in r.children():
output(s) = output(ps(s))
if (s is match):
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.