Bloomberg Interview Question

standard alg questions and a design question