You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We should support things like preorder traversal starting from a given node as (subtree) root.
The internal code already exists to support this and the relevant type simply needs a new constructor.
(The previous sentence is true for preorder traversal. Have to check others.)
Testing would involve checking that all nodes returned have a parent path through the root node and all nodes NOT returned do not have a parent path through the root.