Skip to main content

2 docs tagged with "Hash Function"

View all tags

Subtree of Another Tree(LeetCode)

Given the roots of two binary trees root and subRoot, return true if there is a subtree of root with the same structure and node values of subRoot and false otherwise.