Lowest Common Ancestor of a Binary Tree
Given the root of a binary tree and two nodes p and q, return their lowest common ancestor.
Check more interview questions and experiences about Uber
Given the root of a binary tree and two nodes p and q, return their lowest common ancestor.
Check more interview questions and experiences about Uber
Please log in to view interview question details