Bloomberg Interview Question

basic brain teasers, and fairly easy data structures