Pergunta de entrevista da empresa Viasat

Find the least distant common node (parent) of two nodes