Atlassian | Senior Eng | Coding
Summary
I was asked to implement an agent voting system, and I think the interview went well because I had practiced a similar problem before.
Full Experience
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.
Interview Questions (1)
Agent Voting System Design
Design and implement an agent voting system.
Each support agent needs an ID and a rating from 1-5.
The system must support:
- Recording ratings
- Computing the average rating
- Sorting by average rating
- Coming up with some kind of tie-breaking logic
Follow-up: How would you modify the design to support adding weights to the votes?
Preparation Tips
Pretty much the same as this problem I practiced here:
https://offerretriever.com/questions/3