Quick Overview

Find the lowest common ancestor of two nodes in a binary search tree, with a precise level-order input format and ancestor-as-target edge semantics.

Lowest Common Ancestor in a Binary Search Tree

Company: Amazon

Role: Software Engineer

Category: Coding & Algorithms

Difficulty: hard

Interview Round: Technical Screen

Overview: Find the lowest common ancestor of two nodes in a binary search tree, with a precise level-order input format and ancestor-as-target edge semantics.

Loading…