572. Subtree of Another Tree
Easy
Input: root = [3,4,5,1,2], subRoot = [4,1,2]
Output: trueInput: root = [3,4,5,1,2,null,null,null,null,0], subRoot = [4,1,2]
Output: falseLast updated
Input: root = [3,4,5,1,2], subRoot = [4,1,2]
Output: trueInput: root = [3,4,5,1,2,null,null,null,null,0], subRoot = [4,1,2]
Output: falseLast updated