Samsung Electronics Interview Question

Lca in trees, question in os