Bloomberg Interview Question

The questions were based on data structures and algorithms