My LeetCode grinding. Trying to do a problem a day.
Nevar pievienot vairāk kā 25 tēmas
Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.
1234567 |
- Given two binary trees original and cloned and given a reference to a node target in the original tree.
-
- The cloned tree is a copy of the original tree.
-
- Return a reference to the same node in the cloned tree.
-
- Note that you are not allowed to change any of the two trees or the target node and the answer must be a reference to a node in the cloned tree.
|