BlackRock Interview Question

Build a tree search.