Summer Sale
Limited Time Deal: Unlock all premium questions for over 30% off
14
:
02
:
49
:
39
Support Ticket Dispatcher
A customer support platform assigns incoming tickets to agents to keep workloads balanced. You are given a list of agent names and a list of tickets to assign. Each ticket has a unique integer id and a positive integer effort representing how long it takes to resolve.
Tickets are assigned one at a time in the order provided. For each ticket, assign it to the agent whose current total effort (the sum of efforts for all previously assigned tickets) is the lowest. If multiple agents are tied for the lowest total effort, assign to the agent whose name is lexicographically smallest. ...
OfferRetriever
Master technical interviews with real questions from top companies. Build your confidence and career.
LEGAL
© 2026 Purple Business Holdings LLC. All rights reserved. See Terms of Service.