Viasat Interview Question

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