Bloomberg Interview Question

2 programming questions each round