Roblox Interview Question

Find common ancestor in a tree between 2 nodes.