Bloomberg interview question

basic algorithms and data structures