Bloomberg interview question

basic data structures