https://practice.geeksforgeeks.org/problems/duplicate-subtrees/1