Check For Duplicate Subtree Leetcode Contest