BlackRock interview question

Writing a pseudo C/C++ code to extract data from a large set