Jane Street Interview Question

top k trades in a sequence