Amazon | OA| Best DSA way to stream the data
2801

Today i attended amazon interview and one of the question asked was:-

There is an online platform for students to take tests and submit. The interviewer asked me not to worry about the frontend or anything. He wanted get two information from the backend.

  1. Top k scores of a particular student.
  2. Top k scores of a particular test.

The question is;- what's the best way to stream this information. He wanted to explain the best DSA approach.
This was not exactly a system design round but part of DSA round.
Does anyone know what this question means and what's the right answer?

Comments (5)