Topic: Tree Problem / Level: intermediate

Problem: Find all duplicate subtrees in a binary tree.

Run the code to see the output here...