Bloomberg Interview Question

Algorithms and datastructure