Agent Rating Average Ranking

Asked at Atlassian · Coding Questions · Difficulty: Medium · Last asked Feb 22, 2026

Implement a rating service for support agents / customer-service reps. The core APIs accept 1-5 ratings and return agents sorted by average rating; follow-ups focus on tie-breaking and maintaining the ranking efficiently across repeated calls.

Loading the problem…