give root binary tree return duplicate subtreesfor kind duplicate subtree need return root node themtwo tree duplicate structure node value Example 1input root 1234null24nullnull4Output 244example 2input root 211Output 1Example 3input root 2223null3nulloutput 233 ConstraintsThe number nod tree range 1 5000200 Nodeval 200