<strong>Explanation:</strong> The deepest node in the tree is 2, the valid subtrees are the subtrees of nodes 2, 1 and 0 but the subtree of node 2 is the smallest.
</pre>
<p> </p>
<p><strong>Constraints:</strong></p>
<ul>
<li>The number of nodes in the tree will be in the range <code>[1, 500]</code>.</li>
<li><code>0 <= Node.val <= 500</code></li>
<li>The values of the nodes in the tree are <strong>unique</strong>.</li>
</ul>
<p> </p>
<p><strong>Note:</strong> This question is the same as 1123: <ahref="https://leetcode.com/problems/lowest-common-ancestor-of-deepest-leaves/"target="_blank">https://leetcode.com/problems/lowest-common-ancestor-of-deepest-leaves/</a></p>