Samsung Electronics interview question

Lca in trees, question in os