Atlassian | Senior Eng | Coding
Anonymous User
2388

Interviewer asked me to do make a agent voting system

Each support agent needed an id and a rating from 1-5.

Had to support:

  • Recording ratings

  • Computing the average rating

  • Sorting by average rating

  • Coming up with some kind of tie breaking logic

Follow-ups

  • How would you modify the design to support adding weights to the votes?

Pretty much the same as this problem I practiced here:
https://offerretriever.com/questions/3

The interviewer was pretty friendly, and I think it went ok since I had seen the problem before.

Comments (4)