Algorithm · Google · Medium
Problem: Minimum Number of Servers (24-hour cycle, wrap-around allowed) You are given tasks that must be executed on servers. Each task is described by (start, duration): start is the task's starting minute within a day, from 0..1439. duration is a positive number of minutes and can be greater than 1440, allowing a task to continue through one or more following days. After beginning, a task keeps running without interruption until its duration has elapsed. A server may…
Checking your access…