3 ms·
You usually solve this by using a traversal helper that keeps the stack and next/prev for you without storing them inside the AST explicitly.
by mordae 3y ago
You usually solve this by using a traversal helper that keeps the stack and next/prev for you without storing them inside the AST explicitly.