Weighted Round-Robin Seller Task Scheduler
Implement a task scheduler that receives tasks and returns the next task to process.
Each task contains:
task_id: a string task IDseller_id: a string seller IDtier: eitherVIPor `ST...
Example
Unlock to view complete problem details
and practice with sample input/output
Was this article helpful?
View Test Cases & Run Code requires membership
Standard Input
Execution Result:
