Bloomberg Interview Question

Onsite 1: findTopK