Jane Street interview question

top k trades in a sequence