Bloomberg interview question

data structure questions