Algorithm · Scale AI · Hard
Problem: Incremental Task Scheduling Constraints You receive several tasks, each assigned a duration. Determine the smallest possible elapsed time for every task to be completed—equivalently, the completion time of the final task, the overall deadline, or the makespan. This interview exercise has three stages, with each stage introducing further requirements. Implement minimumCompletionTime(durations, prerequisites) -> number. Tasks are numbered 0 through n - 1, where…
Checking your access…