OYO Interview Question

Least Common factor of tree?