LeetCode

Subtree of Another Tree

Note: this is not the most optimal solution.
Click here for an explanation.