Pergunta de entrevista da empresa Databricks

Determine the oldest common ancestor between two nodes in a tree