Spokeo Interview Question

Something about binary search trees.