Intuit Interview Question

Karat interview, about a tree.