Skip to content

Instantly share code, notes, and snippets.

@kunigami

kunigami/output_build.txt

Last active Nov 10, 2019
Embed
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):
output(s).add(s)
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.