Ab Initio Interview Question

A question that involved trees.