Find Original-Node Common Ancestors in a Search Tree
Company: Google
Role: Software Engineer
Category: Coding & Algorithms
Difficulty: medium
Interview Round: Other
Overview: Find Original-Node Common Ancestors in a Search Tree. Given a BST root and two different original nodes p and q in it, return their lowest common ancestor node. A node counts as its own ancestor. Preserve all three