Pergunta de entrevista da empresa Jane Street

Technical Coding Interview: "A trader asks you for the three largest trades made today. How would you find this information? What about the k-largest trades? How can you make this process more efficient?"