Bloomberg Interview Question

Linked tree , binary tree