Bloomberg interview question

Algo design and data structure