Lowest Common Ancestor of a Binary Tree

Given a binary tree and two node values, return the value of their lowest common ancestor.

Examples
Input: [[3,5,1,6,2,0,8,null,null,7,4],5,1]
Output:
Hints

Lowest Common Ancestor of a Binary Tree

Given a binary tree and two node values, return the value of their lowest common ancestor.