Search posts, tags, users, and pages
Given the roots of two binary trees, determine if the second tree (subRoot) is a subtree of the first tree (root). A subtree must include all descendants of a node in the original tree.
tracelit
@tracelit
Markdown supported · ⌘↵ to post
No responses yet.