Subtree of Another Tree

#572
Easy
Binary Tree
O(m * n)
O(h)
Amazon
Facebook
Microsoft
View on LeetCode

Problem Description

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.