Bloomberg interview question

2 programming questions each round