Meta interview question

Top k, solved using quick select