1379. Find a Corresponding Node of a Binary Tree in a Clone of That Tree
Medium
Input: tree = [7,4,3,null,null,6,19], target = 3
Output: 3
Explanation: In all examples the original and cloned trees are shown. The target node is a green node from the original tree. The answer is the yellow node from the cloned tree.Input: tree = [7], target = 7
Output: 7Solution 1
Solution 2
Last updated


