</>OfferRetriever
DashboardDiscuss
NEW

Summer Sale

Limited Time Deal: Unlock all premium questions for over 30% off

$10.42$7.08

14

:

02

:

49

:

39

Get this deal
Back to Dashboard

Support Ticket Dispatcher

Medium

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.

PRODUCT
PricingDashboardDiscussOfferRetriever vs LeetCode
LEGAL
POPULAR COMPANIES
GoogleMetaAmazonMicrosoftNetflixStripeUberTikTokBrowse all companies →

© 2026 Purple Business Holdings LLC. All rights reserved. See Terms of Service.