BlackRock Interview Question

Algorithms + complexity.