Bloomberg interview question

Simple Data Structure Questions