Netradyne Interview Question

To me they asked a tree related question it was a medium difficulty question.