Bloomberg Interview Question

algorithm questions