Question d’entretien chez Meta

Given two node values in a binary tree, what is their lowest common ancestor?

Réponse à la question d'entretien

Utilisateur anonyme

15 janv. 2025

I created a path for each target node, and found the lowest node based on those paths.