Pergunta de entrevista da empresa Amazon

Leetcode style question, similar to least common ancestor