BlackRock Interview Question

Please explain how you approach the problem.