BlackRock interview question

DS and Algo