Bloomberg interview question

Onsite 1: findTopK