LeetCode236
Submitted by hubdog on Fri, 2021-04-09 23:59
class Solution { if (root==null) return null; if (root.val==p.val || root.val==q.val) return root; if (left==null) return right; if (right==null) return left; return root; } }